[Mono-bugs] [Bug 379139] New: WSDL's cannot be validated against XSD

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Apr 11 09:28:30 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=379139


           Summary: WSDL's cannot be validated against XSD
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.XML
        AssignedTo: atsushi at ximian.com
        ReportedBy: gert.driesen at pandora.be
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Currently WSDL's cannot be validated against the
http://schemas.xmlsoap.org/wsdl/ XSD.

On the 1.0 profile, this results in the following exception:

Unhandled Exception: System.Xml.Schema.XmlSchemaException: XmlSchema error:
Attribute value is invalid against its data type QName XML URI:
file:///d:/xxx/MyTestService.wsdl . Line 22, Position 32. --->
System.ArgumentException: Invalid qualified name.
  at System.Xml.XmlQualifiedName.Parse (System.String name,
IXmlNamespaceResolve
r resolver) [0x00000]
  at Mono.Xml.Schema.XsdQName.ParseValue (System.String s,
System.Xml.XmlNameTab
le nameTable, System.Xml.XmlNamespaceManager nsmgr) [0x00000]
  at Mono.Xml.Schema.XsdValidatingReader.AssessAttributeLocallyValid
(System.Xml.Schema.XmlSchemaAttribute attr) [0x00000]

On the 2.0 profile, the following error is reported (when compiled with gmcs
/d:NET_2_0 test.cs):

Unhandled Exception: System.Xml.Schema.XmlSchemaValidationException: XmlSchema
e
rror: Failed to read typed value. XML  Line 25, Position 14. Related schema
item
 SourceUri: http://schemas.xmlsoap.org/wsdl/, Line 83, Position 6. --->
System.X
ml.Schema.XmlSchemaValidationException: XmlSchema error: Two or more identical
f
ield was found. XML  Line 25, Position 14. Related schema item SourceUri:
http:/
/schemas.xmlsoap.org/wsdl/, Line 83, Position 6.
  at Mono.Xml.Schema.XsdKeyEntryField.FillAttributeFieldValue (System.Object
sen
der, System.Xml.XmlNameTable nameTable, System.String sourceUri, System.Object
s
chemaType, IXmlNamespaceResolver nsResolver, System.Object identity,
IXmlLineInf
o lineInfo, Int32 depth) [0x00000]


-- 
Configure bugmail: https://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