[Bug 22851] New: [XQX30] simpleMapExpr

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22851

            Bug ID: 22851
           Summary: [XQX30] simpleMapExpr
    Classification: Unclassified
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQueryX 3.0
          Assignee: jim.melton@acm.org
          Reporter: tim@cbcl.co.uk
        QA Contact: public-qt-comments@w3.org

The conversion of a simpleMapExpr of the form

PathExpr1 | PathExpr2 | PathExpr3

requires rather a lot of markup.

Because simpleMapExpr is not itself a pathExpr, you end up with (roughly)

<simpleMapExpr>
  <pathExpr>
    <stepExpr>
      <filterExpr>
        <sequenceExpr>
          <simpleMapExpr>
            PathExpr1
            PathExpr2
          </simpleMapExpr>
        </sequenceExpr>
      </filterExpr>
    </stepExpr>
  </pathExpr>
  PathExpr3
</simpleMapExpr>

which seems excessively verbose (even for XQueryX!).  

Is this intentional, or have I missed something?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 1 August 2013 16:04:41 UTC