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

[Bug 1926] New: EP-14: define 'literal' and use it more consistently

From: <bugzilla@wiggum.w3.org>
Date: Wed, 31 Aug 2005 20:48:39 +0000
To: www-xml-schema-comments@w3.org
Cc:
Message-Id: <E1EAZVf-00025y-R5@wiggum.w3.org>

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

           Summary: EP-14: define 'literal' and use it more consistently
           Product: XML Schema
           Version: 1.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSD Part 2: Datatypes
        AssignedTo: cmsmcq@w3.org
        ReportedBy: cmsmcq@w3.org
         QAContact: www-xml-schema-comments@w3.org


The Datatypes spec talks about members of the lexical space
of a given type as lexical representations of (values of)
that type.  In many sentences, however, a term is needed to
denote the strings of characters which are validated.  These
may or may not actually be lexical representations of values 
in the value space, because they may or may not be valid.

Some time ago, the editors agreed to propose to use the term
'literal' with this sense, but noted that a definition of
the term was needed.

EP-14 is a proposal to define 'literal' as 

    A sequence of zero or more characters in the Universal
    Character Set (UCS) which may or may not prove upon
    inspection to be a member of the lexical space of a given
    datatype and thus a lexical representation of a given value
    in that datatype's value space, is referred to as a
    <term>literal</term>. 

and to add (as a way of avoiding the false assumption that
'literal' is used only of unvalidated strings of uncertain
validity) the remark

    The term is used indifferently both for character sequences
    which are members of a particular lexical space and for
    those which are not.

Also, some occurrences of 'character string' used in the sense
given are changed to 'literal' in this proposal.
Received on Wednesday, 31 August 2005 20:48:41 GMT

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