Oops, good catch. Please commit the patch. Thanks!

(btw strictly to say, it is a "text declaration" rather than neither
an xml declaration nor a processing instruction.)

Atsushi Eno

Joshua Tauberer wrote:
I think this is an issue. Hopefully it won't be my second false alarm today.

In XmlTextReader, SkipTextDeclaration attempts to skip over the xml declaration. If it encounters a processing instruction that starts with the three letter 'xml', for instance 'xml-stylesheet', it bails. The attached patch makes sure it only rejects PI names that are entirely 'xml'.

Let me know if that makes sense.
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to