<?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>29113</bug_id>
          
          <creation_ts>2015-09-06 15:11:46 +0000</creation_ts>
          <short_desc>[XSLT30] fn:system-property does not a allow an EQName</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>Windows NT</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="Abel Braaksma">abel.braaksma</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>123110</commentid>
    <comment_count>0</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2015-09-06 15:11:46 +0000</bug_when>
    <thetext>We currently say about the only argument of fn:system-property (20.3.4 fn:system-property) that:

&lt;quote&gt;
The $property-name argument must evaluate to a lexical QName. 
&lt;/quote&gt;

Since every other function we have that used to accept QNames now also accepts EQNames, I think this was possibly an oversight and should now (also) allow EQNames as an argument. See also Michael Kay&apos;s suggested conversion function which appears to assume this: https://lists.w3.org/Archives/Member/w3c-xsl-wg/2015Sep/0010.html (members only).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123179</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2015-09-12 19:36:32 +0000</bug_when>
    <thetext>Anticipating the WG&apos;s agreement to remove this obvious inconsistency, I have applied the change to the spec but leave the bug open for review. The replacement text reads:

&lt;p diff=&quot;chg&quot; at=&quot;S-bug29113&quot;&gt;The value of the &lt;code&gt;$property-name&lt;/code&gt; argument 
&lt;rfc2119&gt;must&lt;/rfc2119&gt; be a string containing an &lt;termref def=&quot;dt-eqname&quot;&gt;EQName&lt;/termref&gt;. If it is a &lt;termref def=&quot;dt-lexical-qname&quot;&gt;lexical QName&lt;/termref&gt; with a prefix, then it is expanded into an &lt;termref def=&quot;dt-expanded-qname&quot;&gt;expanded QName&lt;/termref&gt; using the namespace declarations in the static context of the &lt;termref def=&quot;dt-expression&quot;&gt;expression&lt;/termref&gt;. If there is no prefix, the name is taken as being in no namespace.&lt;/p&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123631</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2015-10-09 11:41:52 +0000</bug_when>
    <thetext>The change was accepted.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>