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>

All,

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:complexContent>
      <xs:restriction base="xs:element">
         ...
      </xs:restriction>
   </xs:complexContent>
</xs:complexType>

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 
http://savas.parastatidis.name
 
Received on Wednesday, 2 July 2003 11:21:56 GMT

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