W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2009

[Bug 2632] Default value and [schema normalized value]

From: <bugzilla@wiggum.w3.org>
Date: Thu, 16 Apr 2009 21:14:17 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1LuYuX-0002bk-By@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2632





--- Comment #6 from C. M. Sperberg-McQueen <cmsmcq@blackmesatech.com>  2009-04-16 21:14:16 ---
Here is a proposal for the desired clarification.  

(1) In 3.3.1 of Structures, in the paragraph beginning "{value
constraint}", change the sentence which now reads

    If a {value constraint} with {variety} = default is present,
    and if the element being ·validated· is empty, then the
    element is treated as if {value constraint}.{lexical form}
    was used as the content of the element.

to read

    If a {value constraint} with {variety} = default is present,
    and if the element being ·validated· is empty, then for
    purposes of calculating the [schema normalized value] and
    other contributions to the post-schema-validation information
    set, the element is treated as if {value constraint}.{lexical
    form} was used as the content of the element.

(2) Before the existing Note following that parargraph insert a
second Note:

    Note: when a default value is supplied and used, as described
    in the second sentence of the preceding paragraph, the
    default value is used to calculate the [schema normalized
    value], etc., but the actual content of the element is not
    changed: the element was empty in the input information set,
    and it remains empty in the PSVI.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 16 April 2009 21:14:30 GMT

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