- From: John Verhaeg <jverhaeg@metamatrix.com>
- Date: Thu, 6 Jun 2002 10:47:21 -0500
- To: "XML Schema Mailing List (E-mail)" <xmlschema-dev@w3.org>
The "Attribute Use" described in section 3.2.2 of the Structures spec when a "ref" attribute is present seems to indicate that, if present, the default/fixed value must match the value specified in the declaration (the globally defined Attribute): "value constraint} If there is a default or a fixed [attribute] <http://www.w3.org/TR/xml-infoset/>, then a pair consisting of the ·actual value· (with respect to the {type definition} of the {attribute declaration}) of that [attribute] <http://www.w3.org/TR/xml-infoset/> and either default or fixed, as appropriate, otherwise ·absent·." However, item 4 of Validation Rule: Attribute Locally Valid in section 3.2.4 states: "4 The item's ·actual value· must match the value of the {value constraint}, if it is present and fixed. " This seems to indicate that default values can be overridden in Attribute Uses. XML Spy seems to allow the value to be overridden regardless of whether the value constraint is fixed or default. Am I reading this incorrectly? It seems as if there is both a documentation error in the spec and a problem with Spy. John P. A. Verhaeg
Received on Thursday, 6 June 2002 11:47:28 UTC