<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>1916</bug_id>
          
          <creation_ts>2005-08-30 18:14:05 +0000</creation_ts>
          <short_desc>lexical mappings are relations, not necessarily functions</short_desc>
          <delta_ts>2007-03-09 17:48:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema</product>
          <component>Datatypes: XSD Part 2</component>
          <version>1.1 only</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>LATER</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>important, work, mappings cluster</status_whiteboard>
          <keywords>needsDrafting</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="C. M. Sperberg-McQueen">cmsmcq</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          
          
          <qa_contact name="XML Schema comments list">www-xml-schema-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>5588</commentid>
    <comment_count>0</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2005-08-30 18:14:05 +0000</bug_when>
    <thetext>At the ftf of May 2005 the WG recognized the need to ensure that all
parts of the Datatypes spec provide a consistent account of the nature
of lexical mappings and the value and lexical spaces.

The invariants we wish to express are:

   For all types, the lexical space is the domain of the lexical
   mapping, and the value space its domain.  There are no ineffable
   values, there are no meaningless lexical forms.

   For all primitive types and all types derived from them by
   restriction or constructed from them by list, the lexical
   mapping is a function:  each lexical form uniquely determines
   a value.

   For the special types, however, and for union types, the
   lexical mapping is not (necessarily) a function.  When these
   are used as the types of elements, xsi:type can used
   to specify which mapping to use.  

(It is also true that the context in which our type system 
is used may provide other mechanisms for addressing this 
problem.  The untypedAtomic mechanism of QT is one such; 
we should write nothing that appears to conflict with the 
existence of such a mechanism.)

The descriptions of the special types, of lexical mappings in
general, and of unions should be reviewed and if necessary
revised to ensure that the invariants identified above are
stated clearly and that nothing is stated which contradicts
them.

At the ftf in August 2005 the WG asked the editors to provide
wording for this topic to be considered at our meeting of
2 September 2005.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7684</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2006-01-06 20:25:40 +0000</bug_when>
    <thetext>Proposal available at [1].

During 2006-01-06 telecon, the scope of this issue was broadened to also cover 
issue(s) related to the lexical mapping of anySimpleType/anyAtomicType in other 
contexts. See points 2~4 in [2].

[1] http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2005Dec/0063.html
[2] http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2005Dec/0083.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8032</commentid>
    <comment_count>2</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2006-01-28 18:12:48 +0000</bug_when>
    <thetext>Owing to a slip of some kind, the editors have used the number
EP-16 for a recent proposal about finite implementations of
infinite datatypes.  I&apos;m removing the label &apos;EP-16&apos; from
this issue, in an attempt to reduce the level of confusion
to a bearable level.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8159</commentid>
    <comment_count>3</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2006-02-08 01:18:22 +0000</bug_when>
    <thetext>Bug 2784 has been created as the Structures counterpart of this issue.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11891</commentid>
    <comment_count>4</comment_count>
    <who name="David Ezell">David_E3</who>
    <bug_when>2006-09-20 18:11:53 +0000</bug_when>
    <thetext>Marked as RESOLVED/WONTFIX per the minutes
http://www.w3.org/XML/Group/2006/01/xml-schema-ftf-minutes.html#Review_of_open_issues</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14373</commentid>
    <comment_count>5</comment_count>
    <who name="Mary Holstege">holstege</who>
    <bug_when>2007-03-09 17:48:19 +0000</bug_when>
    <thetext>Reopened as per minutes http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2007Mar/0010.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>