- From: Anli Shundi <ashundi@tibco.com>
- Date: Wed, 16 Mar 2005 16:26:18 -0500
- To: "Post, Dr. Ulrich" <Ulrich.Post@softwareag.com>
- CC: www-xml-schema-comments@w3.org
Post, Dr. Ulrich wrote: > 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 indeed it is! If you want to specify the 'base' attribute you do it at xs:extension or xs:restriction not xs:complexType. See http://www.w3.org/TR/xmlschema-1/#element-complexType -Anli > 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 > -- Anli Shundi ashundi@tibco.com TIBCO Software Inc. (919) 969 6518 www.tibco.com
Received on Wednesday, 16 March 2005 21:26:56 UTC