<?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>2290</bug_id>
          
          <creation_ts>2005-09-22 16:55:38 +0000</creation_ts>
          <short_desc>[XQueryX] Use of ./text()</short_desc>
          <delta_ts>2005-09-27 08:03:30 +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>XQueryX 1.0</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</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="Michael Kay">mike</reporter>
          <assigned_to name="Jim Melton">jim.melton</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>6414</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-09-22 16:55:39 +0000</bug_when>
    <thetext>The XQueryX stylesheet makes frequent use of constructs like:

&lt;xsl:value-of select=&quot;xqx:value/text()&quot;/&gt;

This produces incorrect results if xqx:value contains comments or processing
instructions. Since there&apos;s no intrinsic reason to ban comments and PIs (and
nothing in the spec that says they are banned), it&apos;s better practice to use

&lt;xsl:value-of select=&quot;xqx:value&quot;/&gt;

Michael Kay</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6463</commentid>
    <comment_count>1</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2005-09-26 22:36:04 +0000</bug_when>
    <thetext>Many thanks for your comment.  We have made the change that you suggest, both
for instances of &quot;xqx:value/text()&quot; and instances of &quot;xqx:name/text()&quot;. 

Please let us know if you agree with this resolution of your issue, by adding a
comment to the issue record and changing the Status of the issue to Closed. Or,
if you do not agree with this resolution, please add a comment explaining why.
If you wish to appeal the WG&apos;s decision to the Director, then also change the
Status of the record to Reopened. If you wish to record your dissent, but do not
wish to appeal the decision to the Director, then change the Status of the
record to Closed. If we do not hear from you in the next two weeks, we will
assume you agree with the WG decision.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>