[Mono-devel-list] [PATCH] Name property of System.Xml.XmlNotation

Boris Kirzner borisk at mainsoft.com
Wed Jan 28 03:17:55 EST 2004


  Hello

Problem description:
Name property  of  System.Xml.XmlNotation should not include ":" if the 
Prefix property is empty.

Steps to reproduce the problem :
1. Create new XmlDocument and load it from the file attached
2. Fetch XmlNotation object from document type.
3. Inspect  Name property of the XmlNotation fetched.

Actual result :
":notation1"

Expected result :
"notation"

Enclosed is a small test case and a patch.

Thank you in advance,

Boris Kirzner



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: XmlNotation.cs.diff
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040128/621d176b/attachment.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Class3.cs
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040128/621d176b/attachment-0001.pl 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: staff.xml
Type: text/xml
Size: 1935 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040128/621d176b/attachment.xml 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: staff.dtd
Type: text/xml
Size: 443 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040128/621d176b/attachment-0001.xml 


More information about the Mono-devel-list mailing list