On 18 Mar 2008, at 17:43, Andrei Zmievski wrote:
Why would we not want to stop on illegal sequences?
Stuff relies on things _not_ stopping. No web browser stops on an illegal sequence: they all use some replacement character (U+FFFD REPLACEMENT CHARACTER in most). Sure, idealists will say that stopping on errors will get the errors fixed, but that manifestly isn't true. There's a huge amount of ill-formed XML out there. Shipping something that required strings to be valid is just asking to not be used. It breaks too much.
We already claim to have error modes that don't stop on error. This is broken.
-- Geoffrey Sneddon <http://gsnedders.com/> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php