[Bug 2664] wd-2: "fixed value constraint" based on identity or equality

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





------- Additional Comments From davep@iit.edu  2006-01-05 23:20 -------
(In reply to comment #2)

> As I understand our resolution, it says that I can have a precisionDecimal
> element with a fixed="4.000", and an instance with <e>4.0</e>, and the instance
> will validate.  What will we report in the PSVI as the value?  If it's fixed at
> 4.000 it seems odd to report 4.0, since we said the value is fixed and 4.000 is
> clearly a different value.  Similarly, it seems odd to report 4.000, since the
> instance clearly contains the lexical form of 4.0.

If the element type requires a fixed value of 4.000 then 4.0 had better not
validate, since they are not identical.  (We agreed to treat fixed values as
enumerations, which in turn means identity, not equality.)

Received on Thursday, 5 January 2006 23:20:34 UTC