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

Fixed value constraint on element

From: Richard Tobin <richard@cogsci.ed.ac.uk>
Date: Mon, 15 Jul 2002 17:53:31 +0100 (BST)
Message-Id: <200207151653.RAA17659@mcpherson.cogsci.ed.ac.uk>
To: 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.

-- Richard
Received on Monday, 15 July 2002 12:53:34 GMT

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