[Mono-devel-list] Xml entity handling

Joshua Tauberer tauberer at for.net
Thu Jun 16 16:44:53 EDT 2005


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.

Surprisingly, the namespace of the document element is OK.

TIA.

-- 
- Joshua Tauberer

http://taubz.for.net

** Nothing Unreal Exists **


-------------- next part --------------
A non-text attachment was scrubbed...
Name: entitytest.cs
Type: text/x-csharp
Size: 711 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050616/2c9e7f51/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: entitytest.xml
Type: text/xml
Size: 758 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050616/2c9e7f51/attachment.xml 


More information about the Mono-devel-list mailing list