<?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>1788</bug_id>
          
          <creation_ts>2005-07-20 18:38:35 +0000</creation_ts>
          <short_desc>[FS] incomplete specification for the conditions of type error err:XQTY0086</short_desc>
          <delta_ts>2005-09-06 13:17:24 +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>Last Call drafts</version>
          <rep_platform>Macintosh</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>1306</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniela Florescu">dflorescu</reporter>
          <assigned_to name="Jerome Simeon">simeon</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>5015</commentid>
    <comment_count>0</comment_count>
    <who name="Daniela Florescu">dflorescu</who>
    <bug_when>2005-07-20 18:38:35 +0000</bug_when>
    <thetext>The Formal Semantics specification has to be updated to reflect the text from the
XQuery specification bellow (section 3.7.3.1) items 1.d.ii.D

&quot; It is a type error [err:XQTY0086] in this case if the typed value of the copied element or of any of its 
attributes is namespace-sensitive. [Definition: A value is namespace-sensitive if it includes an item that 
has a dynamic type of xs:QName or xs:NOTATION or a type derived by restriction therefrom.]&quot;


Related bugs.
http://www.w3.org/Bugs/Public/show_bug.cgi?id=1306</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5223</commentid>
    <comment_count>1</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2005-07-26 15:53:28 +0000</bug_when>
    <thetext>I believe this is already covered in section:
7.1.7 The fs:item-sequence-to-node-sequence function
the dynamic semantics points directly to the XQuery document.
the static semantics explicitely disallow atomic values.

Note that this is a fairly strict rules, we may want to make it
more permissive by allowing atomic values, except xs:QName and
xs:NOTATION.

- Jerome</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5227</commentid>
    <comment_count>2</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2005-07-26 16:18:46 +0000</bug_when>
    <thetext>Here would be the corresponding

statEnv |- Expr : Type
statEnv |- Type : attribute*, (element|text|PI|comment)*
-----------------------------------------------------------------
statEnv |- fs:item-sequence-to-node-sequence (Expr) : attribute*,
(element|text|PI|comment|xs:string|xs:float|......)*


... other xs: primitives types except xs:QName and xs:NOTATION

- Jerome</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5228</commentid>
    <comment_count>3</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2005-07-26 16:19:55 +0000</bug_when>
    <thetext>
statEnv |- Expr : Type
statEnv |- Type : attribute*, (element|text|PI|comment|xs:string|xs:float|......)*
----------------------------------------------------------------------------------
statEnv |- fs:item-sequence-to-node-sequence (Expr) : attribute*,
(element|text|PI|comment|)*

- Jerome</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5229</commentid>
    <comment_count>4</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2005-07-26 16:21:27 +0000</bug_when>
    <thetext>This is the formal response from the XML Query WG and the XSL WG. 

We concluded that, although no change is necessary, we agree that it would be
useful to make the rules more permissive.  Consequently, we intend to make the
change shown in Additional Comment #3. 

Please let us know if you agree with this resolution of your issue, by adding a
comment to the issue record and changing the Status of the issue to Closed. Or,
if you do not agree with this resolution, please add a comment explaining why.
If you wish to appeal the WG&apos;s decision to the Director, then also change the
Status of the record to Reopened. If you wish to record your dissent, but do not
wish to appeal the decision to the Director, then change the Status of the
record to Closed. If we do not hear from you in the next two weeks, we will
assume you agree with the WG decision.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5230</commentid>
    <comment_count>5</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2005-07-26 16:21:53 +0000</bug_when>
    <thetext>This is the formal response from the XML Query WG and the XSL WG. 

We concluded that, although no change is necessary, we agree that it would be
useful to make the rules more permissive.  Consequently, we intend to make the
change shown in Additional Comment #3. 

Please let us know if you agree with this resolution of your issue, by adding a
comment to the issue record and changing the Status of the issue to Closed. Or,
if you do not agree with this resolution, please add a comment explaining why.
If you wish to appeal the WG&apos;s decision to the Director, then also change the
Status of the record to Reopened. If you wish to record your dissent, but do not
wish to appeal the decision to the Director, then change the Status of the
record to Closed. If we do not hear from you in the next two weeks, we will
assume you agree with the WG decision.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>