W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2005

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

From: <bugzilla@wiggum.w3.org>
Date: Wed, 14 Sep 2005 18:04:41 +0000
To: www-xml-schema-comments@w3.org
Cc:
Message-Id: <E1EFbcf-0006dH-Os@wiggum.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:09 GMT