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

Valid content model

From: Claude Seyrat <claude.seyrat@expway.tv>
Date: Thu, 15 Nov 2001 10:51:30 -0500 (EST)
Message-ID: <3BF3E5CD.F297D55C@expway.tv>
To: xmlschema-dev@w3.org

Dear All,

is the following content model valid ?

It is unambiguous and the "name-type" constraint is fulfilled
is there any other rule that could make it invalid ?

<xsd:element name="X">
  <xsd:complexType>
    <xsd:choice>
        <xsd:element name="A" type="xsd:string"/>
        <xsd:element name="B" type="xsd:string"/>
    <xsd:choice>
    <xsd:element name="C" type="xsd:string"/>
    <xsd:choice>
        <xsd:element name="A" type="xsd:string"/>
        <xsd:element name="B" type="xsd:string"/>
    <xsd:choice>
  </xsd:complexType>
 </xsd:element>

Thank you very much.

Best regards,
Claude.

-- 
______________________________________________

Claude Seyrat

Expway c/o Acland
18 avenue Georges V
75008 Paris
tel: 33 1 56 62 11 06 **new**
fax: 33 1 56 62 11 11
mail: claude.seyrat@expway.tv
Received on Thursday, 15 November 2001 11:02:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:35 GMT