[Mono-bugs] [Bug 586308] New: Parsing XML of a SOAP message fails if simple element constains a comment

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 8 11:41:31 EST 2010



           Summary: Parsing XML of a SOAP message fails if simple element
                    constains a comment
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.XML
        AssignedTo: atsushi at ximian.com
        ReportedBy: Felix_Hossfeld at web.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de;
rv: Gecko/20100202 Firefox/3.5.8

If a simple element (string) contains an XML comment the XmlReader fails with a
System.Xml.XmlException: "'Comment' is an ivalid node type.

According to the stacktrace (MonoDeveop doesn't allow to copy it). The error
occurs in line System.Xml.XmlReader.ReadElementString at line 595 of

Reproducible: Always

Steps to Reproduce:
1. Create a web service that contains a comment in a simple element.
2. Create stubs using wsdl.exe
3. Call the web service.
Actual Results:  
System.Xml.XmlException during deserialization.

Expected Results:  
Should just work.

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