[Bug 29211] New: [FO31] (editorial) some typos in examples of fn:function-lookup

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29211

            Bug ID: 29211
           Summary: [FO31] (editorial) some typos in examples of
                    fn:function-lookup
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Functions and Operators 3.1
          Assignee: mike@saxonica.com
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

Under section 16.1.1 of the internal WD of FO31, a few typos can be found in
the examples:

> (let $f := fn:function-lookup(xs:QName('zip:binary-entry', 2) return if
> (exists($f)) then $f($href, $entry) else ()

has (1) a leading paren that is not closed, and (2) a ctor function with two
arguments. I think it should be something like:

let $f := fn:function-lookup(xs:QName('zip:binary-entry'), 2) 
return if (exists($f)) then $f($href, $entry) else ()

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 19 October 2015 23:58:30 UTC