[Mono-bugs] [Bug 594490] New: XmlAttributeAttribute outputting ':' as _x003A_ this differs from .NET behavior

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 7 13:20:54 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=594490

http://bugzilla.novell.com/show_bug.cgi?id=594490#c0


           Summary: XmlAttributeAttribute outputting ':' as _x003A_ this
                    differs from .NET behavior
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.XML
        AssignedTo: atsushi at ximian.com
        ReportedBy: tom_hindle at sil.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=352925)
 --> (http://bugzilla.novell.com/attachment.cgi?id=352925)
Test for XmlAttribute which name contains a ':'

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5
(KHTML, like Gecko) Chrome/4.0.249.43 Safari/532.5

Ie:

[XmlAttribute ("xml:lang")]

gets written as 
xml:lang=.... on .NET 
and
xml_x003A_lang= on mono

Reproducible: Always

Steps to Reproduce:
1. Compile and Run attached test case
2.
3.
Actual Results:  
<?xml version="1.0" encoding="utf-16"?>
<Group xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml_x003A_lang="hello world" />


Expected Results:  
<?xml version="1.0" encoding="utf-16"?>
<Group xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="hello world" />

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list