[Mono-devel-list] Xml entity handling
Atsushi Eno
atsushi at ximian.com
Thu Jun 16 22:40:55 EDT 2005
Hi Joshua,
Yeah, it is likely to happen. Yesterday I found that there is a
problem on namespace handling in DTDValidatingReader and
XmlValidatingReader with kangaroo's help. I think there should
be something similar to what XmlTextReader does. It's not a tiny
fix but am on fixing.
> Surprisingly, the namespace of the document element is OK.
Yeah, currently namespace handling is fine only at the
declaring element.
Thanks,
Atsushi Eno
Joshua Tauberer wrote:
> Atsushi,
>
> A while back I raised some issues with entity handling, but I think some
> problems remain with entities in namespaces. It looks like xmlns
> attributes are added to whatever tracks namespaces before their entities
> are resolved.
>
> Attached is entitytest.cs and entitytest.xml. Entitytest.cs just dumps
> the contents of entitytest.xml, using XmlValidatingReader with
> ValidationType=None. It shows the xmlns attributes at the root element
> resolved ok, as well as the entity toward the end of the document, but
> the namespace uris of the nodes of the document have their entities
> unresolved.
>
>
> TIA.
More information about the Mono-devel-list
mailing list