W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2003

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

From: Mark Thomson <marktt@excite.com>
Date: Thu, 23 Oct 2003 10:15:29 -0400 (EDT)
To: jeff.rancier@softechnics.com
Cc: xmlschema-dev@w3.org
Message-Id: <20031023141529.12FB7299EA@xmxpita.excite.com>






>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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:40 GMT