- From: Michael Kay <mhk@mhk.me.uk>
- Date: Mon, 27 Sep 2004 10:33:40 +0100
- To: <xmlschema-dev@w3.org>
The schema-for-schemas describes the xs:documentation element thus:
<xs:complexType mixed="true">
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:any processContents="lax"/>
</xs:sequence>
<xs:attribute name="source" type="xs:anyURI"/>
<xs:attribute ref="xml:lang"/>
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>
While the definition for xs:appinfo is:
<xs:complexType mixed="true">
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:any processContents="lax"/>
</xs:sequence>
<xs:attribute name="source" type="xs:anyURI"/>
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>
Is there any real difference between these two types? As far as I can see,
the inclusion of xml:lang in the former is redundant, since it is covered by
the anyAttribute wildcard.
Michael Kay
http://www.saxonica.com/
Received on Monday, 27 September 2004 09:34:18 UTC