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

XML Schema compliance

From: Savas Parastatidis <Savas.Parastatidis@newcastle.ac.uk>
Date: Wed, 2 Jul 2003 16:17:42 +0100
Message-ID: <BC28A9E979C56C44BCBC2DED313A447001D75BDF@bond.ncl.ac.uk>
To: <xmlschema-dev@w3.org>
Cc: "Jim Webber" <jim.webber@arjuna.com>, "Paul Watson" <Paul.Watson@newcastle.ac.uk>


A few weeks ago, I argued in Global Grid Forum's OGSI working group that
trying to do something like the following in XML Schema was not valid.

<xs:complexType name="myType">
      <xs:restriction base="xs:element">

With xmlns:xs="http://www.w3.org/2001/XMLSchema"

The OGSI working group chairs at the end suggested that the above was
"unconventional" but valid, after asking some IBM XML Schema experts
(they didn't provide names). The above was removed from the document
under consideration and replaced with something that was agreed by
everyone was valid XML Schema.

However, I am still curious about the validity of the above. Is it
allowed? I believe that since the XML Schema specification is defined as
an infoset, the XML Schema <element> element that is defined in the
normative XML Schema schema (I hope this makes sense) should not be used
in the above manner.

What does this community think? Any references in the specification
where this is allowed/disallowed?

Thank you for your input,
Savas Parastatidis 
Received on Wednesday, 2 July 2003 11:21:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:02 UTC