- From: <bugzilla@jessica.w3.org>
- Date: Tue, 04 Oct 2016 08:34:11 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29895
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 3.1.5.1 Example: Partial Application of an Anonymous Function, the
expression is not valid XPath. XPath does not allow multiple let clauses.
(2) Ditto in 3.1.5.1 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 3.1.5.3 Function coercion, the example is XQuery-only (search for
"declare function")
(4) In 3.1.5.3 the example starting "let $m := map {..." has multiple let
clauses.
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