This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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) } } ) };
Note: Due to the nature of the test this cannot go into the test suite