W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2016

[Bug 29895] New: [XP31] Prepublication check of XP31: Examples

From: <bugzilla@jessica.w3.org>
Date: Tue, 04 Oct 2016 08:34:11 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29895-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 29895
           Summary: [XP31] Prepublication check of XP31: Examples
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XPath 3.1
          Assignee: jonathan.robie@gmail.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

(1) In Example: Partial Application of an Anonymous Function, the
expression is not valid XPath. XPath does not allow multiple let clauses. 

(2) Ditto in Example: Derived Types and Non-local Variable Bindings

Rewrite as

let $incr := 1,
    $f := function ($i as xs:decimal) as xs:decimal { $i + $incr }
return $f(5)

(3) In Function coercion, the example is XQuery-only (search for
"declare function")

(4) In the example starting "let $m := map {..." has multiple let

I confined my testing to code tagged with @role='parse-test'. There are many
more examples that could usefully have this attribute.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 4 October 2016 08:34:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:02 UTC