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 28312 - [XP3.1] 3.14.2 Cast references
Summary: [XP3.1] 3.14.2 Cast references
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XPath 3.1 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Linux
: P2 minor
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-23 01:24 UTC by Patrick Durusau
Modified: 2015-07-11 22:14 UTC (History)
1 user (show)

See Also:


Attachments

Description Patrick Durusau 2015-03-23 01:24:09 UTC
3.14.2 Cast

"A summary of the rules are listed below—the normative definition of these rules is given in [XQuery and XPath Functions and Operators 3.1]. For the purpose of these rules, an implementation may determine that one type is derived by restriction from another type either by examining the in-scope schema definitions or by using an alternative, implementation-dependent mechanism such as a data dictionary.

    cast is supported for the combinations of input type and target type listed in Section 19.1 Casting from primitive types to primitive types FO31. For each of these combinations, both the input type and the target type are primitive schema types. For example, a value of type xs:string can be cast into the schema type xs:decimal. For each of these built-in combinations, the semantics of casting are specified in [XQuery and XPath Functions and Operators 3.1]."

One direct reference and two indirect reference to the same reference. Had the first general reference were:

Correct URL: http://www.w3.org/TR/xpath-functions-31/#casting 19 Casting

then the second general reference could have been omitted.
Comment 1 Jonathan Robie 2015-07-11 22:14:21 UTC
Done.