The following issue has been updated: Updater: Serge Knystautas (mailto:[EMAIL PROTECTED]) Date: Mon, 12 Apr 2004 2:24 PM Changes: Attachment changed from XercesBug.java --------------------------------------------------------------------- For a full history of the issue, see:
http://issues.apache.org/jira/browse/XERCERJ-400?page=history --------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/XERCERJ-400 Here is an overview of the issue: --------------------------------------------------------------------- Key: XERCERJ-400 Summary: validation fails for elements that contain choices of groups that contain choices of groups Type: Bug Status: Resolved Resolution: FIXED Project: Xerces2-J Assignee: Xerces-J Developers Mailing List Reporter: Kevin Ott Created: Thu, 25 Jul 2002 2:40 AM Updated: Mon, 12 Apr 2004 2:24 PM Environment: Operating System: All Platform: All Description: 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. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]