W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2005

[Bug 2555] error in EBNF XQuery: DirElemConstructor in wrong place?

From: <bugzilla@wiggum.w3.org>
Date: Tue, 29 Nov 2005 13:24:51 +0000
To: public-qt-comments@w3.org
Message-Id: <E1Eh5TX-0000Cr-W3@wiggum.w3.org>


           Summary: error in EBNF XQuery: DirElemConstructor in wrong place?
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Formal Semantics
        AssignedTo: simeon@us.ibm.com
        ReportedBy: w.vries@elsevier.nl
         QAContact: public-qt-comments@w3.org

In the "XQuery 1.0: An XML Query Language W3C Candidate Recommendation 3
November 2005" specs I found the following:
according the EBNF spec (http://www.w3.org/TR/xquery/#nt-bnf) the following
construct is possible for selecting an element "A" using an Xpath expression:
.../<A/>/... or .../<A>content</A>...
wher it should be .../A/...
<A/> or <A>content</A> are a DirElemConstructor [96].
Following the EBNF path upwards I found DirElemConstructor [96]>
DirectConstructor [95]> Constructor [94]> PrimaryExpr [84]> FilterExpr [81]>
StepExpr [69]> RelativePathExpr [68].
The last one contains on or more '/' which creates this strange construct.
wim de vries
Received on Tuesday, 29 November 2005 13:25:13 UTC

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