<?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>3863</bug_id>
          
          <creation_ts>2006-10-26 02:20:18 +0000</creation_ts>
          <short_desc>[FS] technical:  QNames in Values/Types/Definitions</short_desc>
          <delta_ts>2007-11-04 06:00:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>Formal Semantics 1.0</component>
          <version>Candidate Recommendation</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>ASSIGNED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Dyck">jmdyck</reporter>
          <assigned_to name="Michael Dyck">jmdyck</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12609</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2006-10-26 02:20:18 +0000</bug_when>
    <thetext>[This is (a generalization of) the same issue that I raised in Bug 1660,
Comment #2, but I figured it deserved its own Bug.]

I&apos;m fairly certain that QNames don&apos;t belong anywhere within (Formal)
Values, Types, or Definitions. The problem is that a QName generally only
has meaning with respect to an environment of namespace bindings, and
Values, Types, and Definitions often appear far from their point of
creation, where some other set of namespace bindings holds sway.

For Values, there&apos;s also the argument that FS Values (ultimately) have to
map to XDM values, and where an FS Value has a QName (e.g., the name of an
element or attribute node), the XDM value requires an xs:QName, i.e. an
expanded-QName.

The fix starts with changing &apos;QName&apos; to &apos;expanded-QName&apos; in the EBNF for
Formal symbols:
    TypeName, AttributeName, and ElementName (in 2.3.1) and
    ElementNameOrWildcard and AttributeNameOrWildcard (in 2.4.2).

While you&apos;re there, rename each of those symbols by prepending &apos;Formal&apos;
(or &apos;Expanded&apos;, or whatever), to distinguish it from the Core symbol of
(currently) the same name.

And then update all affected rules appropriately. Apart from simple
renamings, it mostly amounts to shifting around invocations of
&apos;expands to&apos; judgments. (I can give further details if you like.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14211</commentid>
    <comment_count>1</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2007-02-26 00:16:31 +0000</bug_when>
    <thetext>The fix for this bug does not appear in the Recommendation of 23 January 2007. 
It will be considered for a future publication (either an Errata document or
some possible future version of the specification). </thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>