XML Schema compliance

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 UTC