<?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>28640</bug_id>
          
          <creation_ts>2015-05-14 15:37:09 +0000</creation_ts>
          <short_desc>[QT3] K2-DataFunc-6, fn:data expects error for untyped value but this is not required</short_desc>
          <delta_ts>2015-06-16 15:56: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>XQuery 3 &amp; XPath 3 Test Suite</component>
          <version>Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Abel Braaksma">abel.braaksma</reporter>
          <assigned_to name="O&apos;Neil Delpratt">oneil</assigned_to>
          <cc>mike</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>120307</commentid>
    <comment_count>0</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2015-05-14 15:37:09 +0000</bug_when>
    <thetext>This test tests the fn:data() function on an untyped element. However, the dm:typed-value accessor for InfoSet construction allows to return the dm:string-value accessor as an xs:untypedAtomic value.

I think that this test should allow an alternative non-error outcome.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121102</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2015-06-16 15:56:21 +0000</bug_when>
    <thetext>The WG looked at this and we think the source document is typed (by schema validation) as defined in the qname environment, therefore we&apos;re dealing with an element whose type annotation has element only content, therefore an error is the only possible outcome.

(Please push back if you think we are wrong)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>