<?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>3112</bug_id>
          
          <creation_ts>2006-04-11 21:17:23 +0000</creation_ts>
          <short_desc>xsi namespace prefix is said to be predeclared and bound to fixed namespace URIs in one section but not in another</short_desc>
          <delta_ts>2006-04-25 18:01:50 +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>XQuery 1.0</component>
          <version>Working drafts</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kien Lee">kien.lee</reporter>
          <assigned_to name="Don Chamberlin">chamberl</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>9158</commentid>
    <comment_count>0</comment_count>
    <who name="Kien Lee">kien.lee</who>
    <bug_when>2006-04-11 21:17:23 +0000</bug_when>
    <thetext>In &quot;section 2 Basics&quot; of XQuery 1.0: An XML Query Language 3 November 2005 spec, xml, xs, xsi, fn, xdt and local &quot;namespace prefixes are predeclared by XQuery and bound to fixed namespace URIs.&quot;

Yet, in &quot;section 3.7.4 In-scope Namespaces of a Constructed Element&quot;, &quot;the validator will be unable to interpret the namespace prefix xs because it is has no namespace binding.&quot; in the example provided.

Please clarify.

Thanks,
Kien Lee</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9159</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Rys">mrys</who>
    <bug_when>2006-04-11 21:24:02 +0000</bug_when>
    <thetext>It is predeclared in the XQuery static context, so the XQuery parser understands it. But when validating a constructed element, the prefix needs to be in context for the node which needs to be provided explicitly in accordance with XML rules.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9402</commentid>
    <comment_count>2</comment_count>
    <who name="Don Chamberlin">chamberl</who>
    <bug_when>2006-04-21 23:43:49 +0000</bug_when>
    <thetext>Kien,
Thank you for your comment. The Query Working Group considered your comment on April 18, 2006 and agreed with Michael Rys that this comment is based on a misunderstanding. The predeclared namespace prefixes such as xs are known to the XQuery implementation but not to processes outside the XQuery context such as document validators. The working group believes that no changes are needed to the current specification. I have marked this entry as &quot;Invalid&quot;. If you agree with this resolution, please close the Bugzilla entry. If you take no action, the entry will be closed at the end of April.
Regards,
Don Chamberlin (for the Query Working Group)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>