[Bug 1587] New: [FS] editorial: 4.2 Path Expressions

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

           Summary: [FS] editorial: 4.2 Path Expressions
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Formal Semantics
        AssignedTo: simeon@us.ibm.com
        ReportedBy: jmdyck@ibiblio.org
         QAContact: public-qt-comments@w3.org


4.2 Path Expressions

Introduction
[68 (XQuery)] RelativePathExpr ::= StepExpr (("/" | "//") StepExpr)*
    The Normalization rules (4 and 5) assume a right-recursive production,
    something like:
        ... ::= StepExpr | StepExpr ("/"|"//") RelativePathExpr

Norm / rule 1
    The RHS has to be enclosed in []_Expr because 'treat as' is not in
    the Core language.

Norm / rule 3
[[ "//" RelativePathExpr ]]_Expr == ...
    Delete the quotes.

Norm / rule 3
"treat as document-node"
    Append "()" to "document-node".

Received on Thursday, 14 July 2005 05:36:56 UTC