[XSD] Validation question

Discussion in 'XML' started by Fabien R, Jan 24, 2005.

  1. Fabien R

    Fabien R Guest

    Hi all,

    I don't see what XML nodes the following schemas are expecting:

    1)
    <xsd:complexType name="BOOLEAN">
    <xsd:group ref="BooleanGroup" />
    </xsd:complexType>
    <xsd:group name="BooleanGroup">
    <xsd:choice>
    <xsd:element name="true" type="xsd:integer" fixed="1" />
    <xsd:element name="false" type="xsd:integer" fixed="0" />
    </xsd:choice>
    </xsd:group>

    Is <true>1</true> OK ?

    2)
    <xsd:complexType name="NULL" final="#all" />

    I don't see if it expects <NULL>#all</NULL>.

    TIA,
    Fabien
     
    Fabien R, Jan 24, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Markus
    Replies:
    1
    Views:
    1,169
    Markus
    Nov 22, 2005
  2. Rick Razzano

    XSD document for XSD defintion

    Rick Razzano, Sep 26, 2003, in forum: XML
    Replies:
    1
    Views:
    520
    C. M. Sperberg-McQueen
    Sep 26, 2003
  3. Replies:
    1
    Views:
    894
    Martin Honnen
    Jan 14, 2004
  4. Peter Aberline

    xsd:any as a child of xsd:all

    Peter Aberline, Apr 5, 2004, in forum: XML
    Replies:
    0
    Views:
    814
    Peter Aberline
    Apr 5, 2004
  5. Rushi
    Replies:
    1
    Views:
    576
Loading...

Share This Page