DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11155>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11155 validation fails for elements that contain choices of groups that contain choices of groups Summary: validation fails for elements that contain choices of groups that contain choices of groups Product: Xerces2-J Version: 2.0.2 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: XML Schema Structures AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Schema validation fails for elements that contain choices of groups that contain choices of groups. Attached is a simple test program that reproduces the problem, along with an xsd file and what I believe is a valid instance file. The xsd file happens to be the definition of wsdl and is taken directly from http://schemas.xmlsoap.org/wsdl/. The error reported is: [Error] xerces_bug.xml:28:21: cvc-complex-type.2.4.b: The content of element 'operation' is not complete. It must match '(((("http://schemas.xmlsoap.org/wsdl/":documentation){0-1}),((WC [##other:"http://schemas.xmlsoap.org/wsdl/"]){0-UNBOUNDED})), ((("http://schemas.xmlsoap.org/wsdl/":input), ((("http://schemas.xmlsoap.org/wsdl/":output), ("http://schemas.xmlsoap.org/wsdl/":fault){0-UNBOUNDED})))| (("http://schemas.xmlsoap.org/wsdl/":output), ((("http://schemas.xmlsoap.org/wsdl/":input), ("http://schemas.xmlsoap.org/wsdl/":fault){0-UNBOUNDED})))))'. I believe that the schema is valid, and that xerces is in error. Specifically, I believe that the empty sequence in the "optional-response-fault" group is not being allowed as a valid choice. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
