W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2007

[Bug 5068] [XQuery] Ambiguity in 3.2.4 Abbreviated Syntax

From: <bugzilla@wiggum.w3.org>
Date: Sun, 23 Sep 2007 12:15:47 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1IZQNH-0004Pw-55@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5068

           Summary: [XQuery]  Ambiguity in 3.2.4 Abbreviated Syntax
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: XQuery
        AssignedTo: chamberl@almaden.ibm.com
        ReportedBy: hrennau@yahoo.de
         QAContact: public-qt-comments@w3.org


One tiny ambiguity (?) in the examples given in "3.2.4 Abbreviated Syntax":

<quote>
chapter[title="Introduction"] selects the chapter children of the context node
that have one or more title children whose typed value is equal to the string
Introduction
</quote>

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

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

With kind regards -
Hans-Juergen Rennau
Received on Sunday, 23 September 2007 12:15:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:48 GMT