[Bug 2168] R-171: Question about fixed value constraint on element

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2168

           Summary: R-171: Question about fixed value constraint on element
           Product: XML Schema
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSD Part 1: Structures
        AssignedTo: ht@w3.org
        ReportedBy: sandygao@ca.ibm.com
         QAContact: www-xml-schema-comments@w3.org


In Element Locally Valid (Element) 5.2.2.2.2, the actual value of a simply-
typed element must match the canonical lexical representation of the value of 
the fixed value constraint. 

In the analogous case for attributes, Attribute Locally Valid 4, the actual 
value must match the value of the fixed value constraint (no mention of 
canonical lexical representation). 

Apart from the inconsistency, it doesn't make sense for an actual value to 
match a representation rather than a value. 

Presumably it is intended that the match is a value match in both cases. 

See:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0024.html

Received on Wednesday, 14 September 2005 18:05:36 UTC