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

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

           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.
regards,
wim de vries

Received on Tuesday, 29 November 2005 13:25:13 UTC