Re: It seems to be a problem with the XML Schema for Schemas which is normative...

Hi

I think the type definition 

  <xs:complexType base="xs:anyType" name="empty" />

is invalid - the "base" attribute is not modelled explicitly in any of 
the following type definitions "localComplexType" and
"topLevelComplexType"
in the schema for schemas describing local / global complex type
definitions.

Hence, the base attribute might only match against the attribute
wildcard
occuring in both type definitions:

	<xs:anyAttribute namespace="##other" processContents="lax"/> 

However, the namespace="##other" does not allow for an attribute with
namespace
*absent* - see section 3.10.4 Wildcard validation rules
(http://www.w3.org/TR/xmlschema-1/#d0e12802):

2 All of the following must be true:
  2.1 The constraint is a pair of not and a namespace name or *absent* 
     ([Definition:]  call this the namespace test).
  2.2 The value must not be identical to the *namespace test*.
  2.3 The value must not be *absent*.		<=======

Best regards
Uli

Received on Wednesday, 16 March 2005 21:19:16 UTC