W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2002

Attribute Fixed and Prohibited

From: Joey <lpjcoyle@ihc.com>
Date: Tue, 26 Mar 2002 15:00:38 -0500 (EST)
Message-Id: <>
To: xmlschema-dev@w3.org
I want an attribute to have a fixed value that is available to the schema 
processor, but not allow the attribute in instances.   Is the following 
valid, and does it do what I want.

<xs:attribute name="domain" type="xs:positiveInteger" use="prohibited" 
Received on Wednesday, 27 March 2002 04:23:51 UTC

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