Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: Who tests UPA?

From: "Michael Kay" <mhk@---.--.-->
To: "'Michael Kay'" <mhk@---.--.-->, "'Xan Gregg'" <Xan.Gregg@---.--->, <xmlschema-dev@--.--->
Date: 9/16/2004 4:13:00 AM
> Curiously, Saxon 8.0 reports this as ambiguous:
> 
>       <xs:sequence>
>         <xs:element name="AdminData" minOccurs="0" maxOccurs="unbounded"/>
>         <xs:element name="AdminData" minOccurs="0" maxOccurs="unbounded"/>
>       </xs:sequence>
> 
> but not this:
> 
>       <xs:sequence>
>         <xs:element ref="AdminData" minOccurs="0" maxOccurs="unbounded"/>
>         <xs:element ref="AdminData" minOccurs="0" maxOccurs="unbounded"/>
>       </xs:sequence>
> 

Perhaps it's not so curious. In the second case when you hit an AdminData
there is no ambiguity about which element declaration should be used to
validate it. I've read the UPA definition five times and I can't work out
whether the second case is supposed to be ambiguous or not - it seems to
hinge on whether two particle components can have the same properties but
still be distinct - but intuitively it seems reasonable to allow it.

Michael Kay


From george@s... Thu Sep 16 08:04:18 2004
Received: f


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent