W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2002

[xmlschema-dev] <none>

From: <Eamon.Galavan@risk.sungard.com>
Date: Tue, 12 Feb 2002 17:30:55 +0000
To: xmlschema-dev@w3.org
Message-ID: <OFB49E969A.6E392D47-ON80256B5E.00602C3A@infinity.com>

1.  How do I specify an unordered sequence (i.e. the equivalent of <all>
with maxOccurs ="unbounded") in a schema

e.g. so the following xml would be valid

<chars>
     <a/>
     <a/>
     <c/>
     <b/>
     <a/>
     <b/>
     <c/>
     <b/>
</chars>


2. How do I specify a schema that only validates a section of an xml file
e.g. a schema that will validate <a> and <b> below only

<chars>
     <a/>
     <I don't care what data is here/>
     <b/>
     <don't care about this either/>
</chars>

I have tried <any>, but any data I seemed to try to add to the xml file
seem invalid, and if I didn't enter any data, I got an error saying the
data is incomplete.

I would appreciate any help on the above,

Many thanks in advance,
Eamon.



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.


**********************************************************************
Received on Tuesday, 12 February 2002 12:33:58 GMT

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