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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:03 UTC