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=24290>. 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=24290 Choice containing sequence does no validate correctly [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2003-10-31 13:12 ------- If you will try to validate your schema you will get the followig error: E cos-nonambig: "":VersionNo and "":VersionNo (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles. Take the error code and append it to the XML Schema Part1: Structures URL and you will get: http://www.w3.org/TR/xmlschema-1/#cos-nonambig where you can find more information. What you can do is to rewrite your schema to avoid ambigous content model, something like below for instance: <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'> <xs:complexType name="VersionType"> <xs:choice> <xs:sequence> <xs:element name="VersionNo" type="xs:integer"/> <xs:element name="VersionDateTime" type="xs:dateTime" minOccurs="0"/> </xs:sequence> <xs:element name="VersionDateTime" type="xs:dateTime"/> </xs:choice> </xs:complexType> </xs:schema> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
