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 1511 - Invalid casting syntax in example, Section 17.1.1
Summary: Invalid casting syntax in example, Section 17.1.1
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows XP
: P2 minor
Target Milestone: ---
Assignee: Ashok Malhotra
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-28 21:37 UTC by Don Chamberlin
Modified: 2007-02-25 23:39 UTC (History)
0 users

See Also:


Attachments

Description Don Chamberlin 2005-06-28 21:37:20 UTC
Section 17.1.1, Casting from xs:string and xdt:untypedAtomic, paragraph 3, 
first sentence reads as follows:

For example, cast as xs:unsignedInt("13") returns the xs:unsignedInt with value 
13.

This seems to be an editorial error. cast as xs:unsignedInt("13") is not valid 
syntax. It should be changed to "13" cast as xs:unsignedInt.
Comment 1 Ashok Malhotra 2005-06-28 22:20:28 UTC
Thanks!  Fixed.