<?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>16744</bug_id>
          
          <creation_ts>2012-04-16 08:24:14 +0000</creation_ts>
          <short_desc>[XQ31ReqUC] fn:collection-available</short_desc>
          <delta_ts>2015-12-17 11:15: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>Requirements for Future Versions</component>
          <version>Member-only Editors Drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Tim Mills">tim</reporter>
          <assigned_to name="Michael Kay">mike</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>66732</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2012-04-16 08:24:14 +0000</bug_when>
    <thetext>Is there a good reason why fn:doc and fn:unparsed-text have corresponding functions fn:doc-available and fn:unparsed-text-available, but fn:collection does not have a corresponding fn:collection-available?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69227</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2012-06-19 13:29:33 +0000</bug_when>
    <thetext>One possible reason is that if collection-available() has parallel semantics with the other functions, it could be quite expensive: it has to determine not only that a collection with the required name exists, but that it can be read in its entirety without error. Given that many operations on collections are likely to filter the collection, which might mean that some errors go undetected, the operation could be expensive. But I agree that&apos;s not a strong justification.

There is however a process argument against adding it now: the time for adding new features to the current 3.0 version of the spec is past.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69228</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2012-06-19 13:37:08 +0000</bug_when>
    <thetext>I&apos;m happy for it to be added to a 3.1 wishlist.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69239</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2012-06-19 15:51:34 +0000</bug_when>
    <thetext>To be considered for inclusion in a future version.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106471</commentid>
    <comment_count>4</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2014-05-20 16:51:39 +0000</bug_when>
    <thetext>Assigning to future requirements per Working Group decision (https://lists.w3.org/Archives/Member/w3c-xsl-query/2012Oct/0087.html).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124449</commentid>
    <comment_count>5</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2015-12-17 11:15:30 +0000</bug_when>
    <thetext>It looks as if collection-available was noted as a future requirement, but hasn&apos;t made it into XQ3.1

Is is now too late again?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>