<?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>4396</bug_id>
          
          <creation_ts>2007-03-15 17:40:51 +0000</creation_ts>
          <short_desc>Note on QName considered misleading or false</short_desc>
          <delta_ts>2009-04-20 17:19:09 +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.0/1.1 both</version>
          <rep_platform>Macintosh</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>cluster: QNames</status_whiteboard>
          <keywords>decided</keywords>
          <priority>P1</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>CR</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="C. M. Sperberg-McQueen">cmsmcq</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          <cc>cmsmcq</cc>
    
    <cc>David_E3</cc>
          
          <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>14450</commentid>
    <comment_count>0</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2007-03-15 17:40:51 +0000</bug_when>
    <thetext>Both 1.0 and 1.1 have a Note in the section on QNames which reads:

    Note:  The mapping between &amp;#183;literals&amp;#183; in the &amp;#183;lexical space&amp;#183; 
    and values in the &amp;#183;value space&amp;#183; of QName requires a namespace 
    declaration to be in scope for the context in which QName is used.

Read literally, this appears to say that given a schema containing

    &lt;xsd:attribute name=&quot;my-qname&quot; type=&quot;xsd:QName&quot;/&gt;

then in the document

    &lt;test tns:my-qname=&quot;foo&quot;/&gt;

there is no mapping for &quot;foo&quot;, because there is no namespace
declaration anywhere around.  I think that that&apos;s (a) not a good idea
and (b) not what we intended.  The Note should be changed to say
something like &quot;The mapping ... depends on the set of namespace
declarations in scope.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20327</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2008-05-30 04:07:29 +0000</bug_when>
    <thetext>The issue raised here appears to be one of clarity, not one of changing
the intent of the spec.  So I&apos;m unilaterally classifying it editorial.
This may have the effect of making it possible to take care of this
problem after publication of our next working drafts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24670</commentid>
    <comment_count>2</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2009-04-13 00:48:03 +0000</bug_when>
    <thetext>A wording proposal intended to resolve this issue is at

  http://www.w3.org/XML/Group/2004/06/xmlschema-2/datatypes.b3264.html
  (member-only link)

It should be noted that (if the keywords are not out of date) the WG has not
formally accepted this bug report as an issue, so the WG is not committed to
changing the spec in order to resolve it, or to the idea that the issue reported
on is a real issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24798</commentid>
    <comment_count>3</comment_count>
    <who name="David Ezell">David_E3</who>
    <bug_when>2009-04-17 16:26:12 +0000</bug_when>
    <thetext>4396: Note on QName considered misleading or false
http://www.w3.org/XML/Group/2004/06/xmlschema-2/datatypes.b4396.html

Summary: proposes to replace current text

     Note: The mapping between ·literals· in the ·lexical space·
     and values in the ·value space· of QName requires a namespace
     declaration to be in scope for the context in which QName is
     used.

with

     Note: The mapping between ·literals· in the ·lexical space·
     and values in the ·value space· of QName depends on the set
     of namespace declarations in scope for the context in which
     QName is used.

MSM&apos;s recommendation:  adopt without discussion.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24857</commentid>
    <comment_count>4</comment_count>
    <who name="Dave Peterson">davep</who>
    <bug_when>2009-04-20 17:18:29 +0000</bug_when>
    <thetext>The WG adopted the proposal referred to in comment #2 (referral repeated in comment #3) on 17 Apr and the change has been added to the SQ document.  Therefore, I am marking this FIXED.  Since the fix is precisely the fix proposed by the originator, who was present at the telephone meeting, I will  immediately mark it CLOSED on his behalf.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>