W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2013

[Bug 22851] New: [XQX30] simpleMapExpr

From: <bugzilla@jessica.w3.org>
Date: Thu, 01 Aug 2013 16:04:39 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-22851-523@http.www.w3.org/Bugs/Public/>
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

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