W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2016

Re: a small document about XML Schema <sequence> vs <all> constructs

From: Ihe Onwuka <ihe.onwuka@gmail.com>
Date: Wed, 27 Jul 2016 15:40:56 -0400
Message-ID: <CALfs7+yXpQTfAT6Xr2WixKQ_40f9b2knySZ5bz1-0NTd9d243w@mail.gmail.com>
To: Mukul Gandhi <gandhi.mukul@gmail.com>
Cc: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Forgive me if this does not apply to XSD 1.1 but contrary to your write up
sequence is not a subcase of xsd:all because xsd:all has severe cardinality
restrictions in that it is limited to 0 or 1 occurrence which would
prohibit it's use even where unordered semantics are explicitly desired.

On Tue, Jul 26, 2016 at 11:02 PM, Mukul Gandhi <gandhi.mukul@gmail.com>

> Dear list,
>    I've been thinking on this topic for a while, and I thought I must
> write a technical document about it to share with like minded people. I've
> attempted to compare the XSD <sequence> and <all> constructs in this
> document. The link is below.
> https://sites.google.com/site/gandhimukul/xml/sequenceVsAll_xsd.pdf
> If anyone on this list gets time to read this document, it'll be great.
> I'll happily respond to any mails on this via this list, and perhaps modify
> the referred document as per comments from anyone on this list.
> --
> Regards,
> Mukul Gandhi
Received on Wednesday, 27 July 2016 19:41:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:16:11 UTC