Re: <xs:attribute use='prohibited'> question

>I would think this could be used as a 'to be implemented' kind of 
>mechanism.  'prohibited' until other pieces are ready.

So a complex type extending another complex type like "explicitGroup", re-allowing the "ref" attribute to be present in the schema instances, cannot specify a type other than xs:QName for the "ref" attribute, for example? If it can change the type (or it doesn't inherit the type if it didn't explicitly specify one), then the "type" attribute is still useless, right?

Does the following sentence from XML Schema Part 1: Structures imply that a schema processor should consider something like "<xs:attribute use='prohibited' name='...' type='..'> in error? (type should not be present)

"otherwise if the <attribute> element information item has <complexType> or <attributeGroup> as an ancestor and the ref [attribute] is absent, it corresponds to an attribute use with properties as follows (unless use='prohibited', in which case the item corresponds to nothing at all)"

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!

Received on Thursday, 23 October 2003 10:15:30 UTC