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
To: public-qt-comments@w3.org
Message-Id: <E1IZQNH-0004Pw-55@wiggum.w3.org>


           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":

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

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
- 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 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:20 UTC