<?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>5700</bug_id>
          
          <creation_ts>2008-05-19 18:41:04 +0000</creation_ts>
          <short_desc>[UPD] Updating expressions should not raise XPST0005</short_desc>
          <delta_ts>2008-06-03 17:39:30 +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>Update Facility</component>
          <version>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</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>5646</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Don Chamberlin">chamberl</reporter>
          <assigned_to name="Andrew Eisenberg">andrew.eisenberg</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>20156</commentid>
    <comment_count>0</comment_count>
    <who name="Don Chamberlin">chamberl</who>
    <bug_when>2008-05-19 18:41:04 +0000</bug_when>
    <thetext>During the analysis phase, err:XPST0005 is raised if any expression other than () or data() has a static type of empty-sequence(). But all updating expressions return empty sequences, and we do not want all updating expressions to be static errors. In the Update spec, Section 4 (Static Typing Feature) should state that err:XPST0005 does not apply to updating expressions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20365</commentid>
    <comment_count>1</comment_count>
    <who name="Don Chamberlin">chamberl</who>
    <bug_when>2008-06-03 17:39:17 +0000</bug_when>
    <thetext>The Query working group discussed this bug report on 3 June 2008 and agreed with the suggested change. The Update spec will specify that updating expressions, although they return empty sequences, are not static errors.
Don Chamberlin (for the Query Working Group.)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>