Error in XHTML schema (xhtml-csismap.xsd)?

Hi,

In the modularized XML schema for client-side image maps, xhtml-csismap.xsd
[1], the <xs:schema> element contains an <xs:include> element after an
<xs:element> element:

[...]
	<xs:element name="area" type="area.type"/>
	<!-- -->
	<!-- map -->
	<xs:include schemaLocation="xhtml-events-1.xsd" />
[...]

However, according to the W3C XML Schema standard [2] the content type of
the <xs:schema> element is restricted to:

((include | import | redefine | annotation)*, (((simpleType | complexType |
group | attributeGroup) | element | attribute | notation), annotation*)*)

which I would take to imply that it is not possible to have an <xs:include>
after an <xs:element>. Any number of <xs:include>, <xs:import> and
<xs:redefine> can appear but must be at the top of the document before
anything else (short of <xs:annotation>).	

Kind regards,

-- Steen Lehmann

References:
[1] :
http://www.w3.org/TR/2001/WD-xhtml-m12n-schema-20011219/schema_module_defs.h
tml#a_smodule_Client-side_Image_Map
[2] : http://www.w3.org/TR/xmlschema-1/#element-schema

/**
 * Steen Lehmann - <mailto:slehmann@silverstream.com>
 * Senior Software Engineer (R&D), SilverStream Software 
 * <http://www.silverstream.com>
 */ 

Received on Monday, 8 April 2002 08:09:25 UTC