Re: [PATCH] Bug 43477 - Unicode error mode ignored

From: Date: Tue, 18 Mar 2008 18:25:00 +0000
Subject: Re: [PATCH] Bug 43477 - Unicode error mode ignored
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-36196@lists.php.net to get a copy of this message
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/>

« previous php.internals (#36196) next »