Re: cvs: php-src(PHP_5_1) /ext/xmlreader php_xmlreader.c
>> As I see it, E_NOTICE should be thrown since accessing uninitialized
>> variable triggers E_NOTICE, why not XML attribute?
>> (yeah, massive BC break so no chance in hell I'd recommend
>> implementing it though)
>
> That's insane :-)
>
> Null is the way to go, the question was only when is the right time to
> make the change.
My (a bit late) input:
XMLReader is not DOM. As Pierre said it follows C# xmlTextReader behavior
and not DOM specs.
This is really a bug fix and should go in now. The behavior is changed
only slightly with minimal to no impact on existing scripts, but now will
at least produce correct behavior for those who need it.
Thread (10 messages)