W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2001

XSV issue with non-deterministic wildcards

From: Priscilla Walmsley <priscilla@walmsley.com>
Date: Wed, 17 Oct 2001 14:59:51 -0400
To: <xmlschema-dev@w3.org>
Message-ID: <001401c1573d$e9541d70$b92a6420@xmls>
XSV thinks the following content model is non-deterministic (in a schema
with a target namespace).  It doesn't seem like it is, because the first
"any" represents anything with a namespace, and the second "any" represents
anything without a namespace.  Is this a bug?

<xsd:complexType name="DescriptionType" mixed="true">
  <xsd:choice minOccurs="0" maxOccurs="unbounded">
    <xsd:any namespace="##other"/>
    <xsd:any namespace="##local"/>
  </xsd:choice>
</xsd:complexType>


Thanks,
Priscilla

-----------------------------------------------------------
Priscilla Walmsley                   priscilla@walmsley.com
Vitria Technology                     http://www.vitria.com
Author, Definitive XML Schema    (Prentice Hall, Dec. 2001)
-----------------------------------------------------------
Received on Wednesday, 17 October 2001 15:36:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:24 GMT