[Mono-dev] XmlTextReader bug
Joshua Tauberer
tauberer at for.net
Sat Oct 8 16:46:15 EDT 2005
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.
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists **
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmltextreader.diff
Type: text/x-patch
Size: 1163 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20051008/22de9f30/attachment.bin
More information about the Mono-devel-list
mailing list