<?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>29109</bug_id>
          
          <creation_ts>2015-09-03 19:22:39 +0000</creation_ts>
          <short_desc>[xslt 3.0] New function available-system-properties()</short_desc>
          <delta_ts>2015-10-29 12:42: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>XSLT 3.0</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="Michael Kay">mike</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>123063</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2015-09-03 19:22:39 +0000</bug_when>
    <thetext>A need has been identified for a function available-system-properties() to list the property names recognized by the implementation, and the WG agreed in principle to add such a function. Here is the first draft of the specification:

&lt;fos:function name=&quot;available-system-properties&quot;&gt;
      &lt;fos:signatures&gt;
         &lt;fos:proto name=&quot;available-system-properties&quot; return-type=&quot;xs:QName*&quot;/&gt;
      &lt;/fos:signatures&gt;
      &lt;fos:properties&gt;
         &lt;fos:property&gt;deterministic&lt;/fos:property&gt;
         &lt;fos:property&gt;context-independent&lt;/fos:property&gt;
         &lt;fos:property&gt;focus-independent&lt;/fos:property&gt;
      &lt;/fos:properties&gt;
      &lt;fos:summary&gt;
         &lt;p&gt;Returns a list of system property names that are suitable for passing to
            the &lt;function&gt;system-property&lt;/function&gt; function, as a (possibly empty) sequence of QNames.&lt;/p&gt;
      &lt;/fos:summary&gt;
      &lt;fos:rules&gt;
         &lt;p&gt;The function returns a sequence of QNames, being the names of the system properties
            recognized by the processor, in some &lt;termref def=&quot;implementation-dependent&quot;
               &gt;implementation-dependent&lt;/termref&gt; order.&lt;/p&gt;
         &lt;p&gt;The function is &lt;termref def=&quot;dt-deterministic&quot;&gt;deterministic&lt;/termref&gt;: that is, the
            set of available system properties does not vary during the course of a transformation.&lt;/p&gt;
      &lt;/fos:rules&gt;
      &lt;fos:notes&gt;
         &lt;p&gt;The function returns a list of QNames, containing no duplicates.&lt;/p&gt;
         &lt;p&gt;It is intended that the QNames in this list should be suitable for passing to
            &lt;function&gt;system-property&lt;/function&gt;.&lt;/p&gt;
         
      &lt;/fos:notes&gt;
   &lt;/fos:function&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123615</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2015-10-08 16:45:51 +0000</bug_when>
    <thetext>Accepted with the addition that this function should be available in static expressions (see the list in section 9.7)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123716</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2015-10-15 15:12:24 +0000</bug_when>
    <thetext>Confirmed that this proposal has been applied to the spec, including the addition in comment #1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123720</commentid>
    <comment_count>3</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2015-10-15 15:52:00 +0000</bug_when>
    <thetext>Note: I have added 29 tests to XT3 for this new function.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>