<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>28312</bug_id>
          
          <creation_ts>2015-03-23 01:24:09 +0000</creation_ts>
          <short_desc>[XP3.1] 3.14.2 Cast references</short_desc>
          <delta_ts>2015-07-11 22:14:21 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>XPath 3.1</component>
          <version>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Patrick Durusau">patrick</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</assigned_to>
          <cc>jim.melton</cc>
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>118830</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick Durusau">patrick</who>
    <bug_when>2015-03-23 01:24:09 +0000</bug_when>
    <thetext>3.14.2 Cast

&quot;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].&quot;

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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121977</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2015-07-11 22:14:21 +0000</bug_when>
    <thetext>Done.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>