Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Re: Cross-references among included schema documents >Thread Next - Re: Content models for xs:appinfo and xs:documentation Content models for xs:appinfo and xs:documentationTo: <xmlschema-dev@--.---> Date: 9/27/2004 11:34:00 AM
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/
From ht@i... Mon Sep 27 09:46:58 2004
Received: f | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
