W3C home > Mailing lists > Public > public-qt-comments@w3.org > December 2008

[Bug 6312] New: [XQuery11] syntax error in example

From: <bugzilla@wiggum.w3.org>
Date: Mon, 15 Dec 2008 01:56:04 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-6312-523@http.www.w3.org/Bugs/Public/>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6312

           Summary: [XQuery11] syntax error in example
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
               URL: http://www.w3.org/TR/2008/WD-xquery-11-20081203/#id-try-
                    catch
        OS/Version: Windows XP
            Status: NEW
          Severity: minor
          Priority: P2
         Component: XQuery 1.1
        AssignedTo: jonathan.robie@redhat.com
        ReportedBy: andrew.eisenberg@us.ibm.com
         QAContact: public-qt-comments@w3.org


One of the examples in 3.12 Try/Catch Expressions reads:

define function local:thrice($x as xs:integer) as xs:integer
{
    3*$x
};

local:thrice(try { "oops" } catch * { 3 } )


The "define function" should be "declare function".


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 15 December 2008 01:56:13 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:38 UTC