This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2168 - R-171: Question about fixed value constraint on element
Summary: R-171: Question about fixed value constraint on element
Status: NEW
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: 1.0 only
Hardware: All Windows 3.1
: P2 normal
Target Milestone: ---
Assignee: David Ezell
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords: needsDrafting
Depends on:
Blocks:
 
Reported: 2005-09-14 18:04 UTC by Sandy Gao
Modified: 2012-12-04 00:51 UTC (History)
0 users

See Also:


Attachments

Description Sandy Gao 2005-09-14 18:04:41 UTC
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
Comment 1 Sandy Gao 2005-09-14 18:04:48 UTC
Discussed at the Sept. 27 concall. RESOLVED unanimously: to classify R-171 as 
error with erratum.