W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2003

Re: suggestion for next version of XML Schema definition

From: John McCarthy <JLMcCarthy@LBL.gov>
Date: Thu, 14 Aug 2003 08:27:44 -0700
Message-Id: <5.2.1.1.2.20030814082601.027fa7e8@imap4.lbl.gov>
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>
Cc: Dorrit.H.Gordon@seagate.com (by way of "C. M. Sperberg-McQueen" <cmsmcq@acm.org>)

This seems like an excellent suggestion.
Perhaps the tag could be something like "<Any>"

John McCarthy

At 07:06 AM 8/14/2003 -0700, you wrote:




>Hello,
>
>Per your announcement at http://www.w3c.org/XML/Schema, I have a propsed
>requirement for the next version of the XML Schema definition.
>
>My understanding of the current XML Schema definition is that there are
>three ways to include multiple subelements within an element:
>
>-<all>
>-<choice>
>-<sequence>
>
>As I understand it, the <all> tag allows zero or one instance of each
>subelement to appear in an element; the <choice> tag allows any number of
>instances of a single subelement to appear in an element; the <sequence>
>tag allows any number of instances of any of the subelements to appear, but
>the must appear in the order defined in the schema.
>
>My proposal is to add an additional tag (all is the obvious name, but is
>already used), which would behave like <sequence> but without the ordering
>constraint.
Received on Thursday, 14 August 2003 11:28:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 October 2007 06:13:32 GMT