- From: <bugzilla@jessica.w3.org>
- Date: Thu, 17 Sep 2015 15:28:32 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29131 Bug ID: 29131 Summary: Function ext:sc missing definition in example. See section 3.7 Product: XPath / XQuery / XSLT Version: Working drafts Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: XQuery 3.1 Requirements and Use Cases Assignee: jonathan.robie@gmail.com Reporter: oneil@saxonica.com QA Contact: public-qt-comments@w3.org Target Milestone: --- The following example in section 3.7 has undeclared definition of the function ext:sc. Also the syntax of the map constructor in the return statement is incorrect: declare variable $languages := ("English", "Greek", "Latin"); declare function local:spellcheck($languages, $text) { map:merge ( map { "languages" : $languages }, map { "raw" : $text }, for $l in $languages return { $l : array { for $w in $text return ext:sc($l, $w) } } ) }; -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Thursday, 17 September 2015 15:28:38 UTC