[Mono-dev] XmlTextReader bug
atsushi at ximian.com
Sat Oct 8 16:58:00 EDT 2005
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.)
Joshua Tauberer wrote:
> I think this is an issue. Hopefully it won't be my second false alarm
> 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.
More information about the Mono-devel-list