W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2006

Two Questions - on XML Schema

From: Ramkumar Menon <ramkumar.menon@gmail.com>
Date: Sat, 4 Mar 2006 18:17:55 +0530
Message-ID: <22bb8a4e0603040447j2bbbb94al7b61fe209b72496@mail.gmail.com>
To: xml-dev@lists.xml.org, xmlschema-dev@w3.org
Hi All,

  Needed a few clarifications. Would appreciate if someone cd comment on the
following.

1) Reposting the earlier question posted on xmlschema-dev -> Are there plans
to revisit the semantics of "xsd:all" in the upcoming versions of XSD.
    i.e removing the cardinality constraints on the items that can exist
within "xsd:all" ?
    Are there any known issues/ambiguities introduced as a result
of unconstrained  cardinality of items that can exist within xsd:all ?

2) What is the rationale for disallowing choices between attributes in XML
Schema ? Please note that this scenario has had repercussions on other
specifications as well. [I am referring to WSDL specifications that have
this requirement, but have ended up with a more loose definition for entites
due to this restriction].
  A simple example is the "type" and "element" attribute information items
on the "part" element. These attributes are mutually exclusive, but since
there are no options in XML Schema to capture this scenario, they have
solved this by making both of them as minOccurs="0".

Thanks and regards,
Menon

Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!

-Ramkumar Menon
A typical Macroprocessor
Received on Saturday, 4 March 2006 12:48:07 GMT

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