<?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>5068</bug_id>
          
          <creation_ts>2007-09-23 12:15:46 +0000</creation_ts>
          <short_desc>[XQuery]  Ambiguity in 3.2.4 Abbreviated Syntax</short_desc>
          <delta_ts>2009-03-17 16:48:52 +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>Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hans-Juergen Rennau">hrennau</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</assigned_to>
          <cc>jim.melton</cc>
          
          <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>16756</commentid>
    <comment_count>0</comment_count>
    <who name="Hans-Juergen Rennau">hrennau</who>
    <bug_when>2007-09-23 12:15:46 +0000</bug_when>
    <thetext>One tiny ambiguity (?) in the examples given in &quot;3.2.4 Abbreviated Syntax&quot;:

&lt;quote&gt;
chapter[title=&quot;Introduction&quot;] selects the chapter children of the context node that have one or more title children whose typed value is equal to the string Introduction
&lt;/quote&gt;

The words &quot;typed value is equal to ...&quot; are only correct if one interpretes &quot;is equal&quot; in the formal sense defined in &quot;3.5.2 General Comparisons&quot;, rather than intuitively. Maybe this is intended; if not, I suggest to enhance clarity by adding a few words:

- perhaps &quot;, according to the definition of equality given in 3.5.2 General Comparisons.&quot;
- or something like &quot;, or is a sequence of values one of which is equal to the string Introduction.&quot;

With kind regards -
Hans-Juergen Rennau</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24265</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2009-03-16 14:47:48 +0000</bug_when>
    <thetext>This list is intentionally informal. It contains several examples of the = operator, as well as other operators. While it&apos;s possible to add text along these lines, doing this increases the complexity of the text considerably while adding little in clarity. I agree that some people may not know the meaning of the = operator, but that is defined in a different section.

Jonathan</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>