<?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>4898</bug_id>
          
          <creation_ts>2007-07-31 14:56:25 +0000</creation_ts>
          <short_desc>[FS] 8.5.1 Type promotion</short_desc>
          <delta_ts>2009-06-22 20:46:49 +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>Formal Semantics 1.0</component>
          <version>Recommendation</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>3670</dup_id>
          
          <bug_file_loc>http://www.w3.org/TR/xquery-semantics/#sec_promotion</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ben Wagner">bungeman</reporter>
          <assigned_to name="Michael Dyck">jmdyck</assigned_to>
          
          
          <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>15976</commentid>
    <comment_count>0</comment_count>
    <who name="Ben Wagner">bungeman</who>
    <bug_when>2007-07-31 14:56:25 +0000</bug_when>
    <thetext>In the XPath and XQuery language recommendations there is an Appendix B ( http://www.w3.org/TR/xpath20/#promotion and http://www.w3.org/TR/xquery/#promotion respectively) which describe 1. Numeric Type Promotion and 2. URI Type Promotion. However, in section 8.5.1 of the Formal Semantics, the Numeric Promotion is described, but the URI Promotion is not. It appears that there should be a rule of the form

xs:anyURI can be promoted to the type xs:string

--------------------------------------------------
statEnv |-  xs:anyURI can be promoted to xs:string

in order to bring the Formal Semantics document into line with the language specifications.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15981</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2007-07-31 18:26:25 +0000</bug_when>
    <thetext>&gt; It appears that there should be a rule of the form
&gt; 
&gt; xs:anyURI can be promoted to the type xs:string
&gt; 
&gt; --------------------------------------------------
&gt; statEnv |-  xs:anyURI can be promoted to xs:string

(I&apos;m assuming that &quot;xs:anyURI can be promoted to the type xs:string&quot; isn&apos;t part of the rule per se, but rather is the preceding prose.)

Yes, I agree. This was pointed out (and resolved) last year as part of Bug 3670, but the fix did not make it into the Recommendation. Instead it will appear as an erratum.

I&apos;m marking this issue as &apos;Resolved, duplicate of 3670&apos;. If you agree with this resolution, please close the issue. 

*** This bug has been marked as a duplicate of bug 3670 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25661</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2009-06-22 20:46:49 +0000</bug_when>
    <thetext>The requested change appears in the Proposed Edited Recommendation
for the FS.

After almost two years with no response from the original reporter,
I am marking this issue CLOSED.  Feel free to reopen it
if you disagree with this outcome.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>