This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6312 - [XQuery11] syntax error in example
Summary: [XQuery11] syntax error in example
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.0 (show other bugs)
Version: Working drafts
Hardware: PC Windows XP
: P2 minor
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL: http://www.w3.org/TR/2008/WD-xquery-1...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-15 01:56 UTC by Andrew Eisenberg
Modified: 2009-11-23 19:40 UTC (History)
1 user (show)

See Also:


Attachments

Description Andrew Eisenberg 2008-12-15 01:56:03 UTC
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".