<?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>29424</bug_id>
          
          <creation_ts>2016-02-07 01:51:14 +0000</creation_ts>
          <short_desc>[XSLT30] Contradiction in the sentence on item-separator</short_desc>
          <delta_ts>2016-02-18 20:41:56 +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>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</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>124880</commentid>
    <comment_count>0</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2016-02-07 01:51:14 +0000</bug_when>
    <thetext>Under section 26 Serialization, the item on &quot;item-separator&quot; says the following:

&lt;quote&gt;
To set the parameter to absent, the item-separator attribute can either be omitted, or set to the special value item-separator=&quot;#absent&quot;; it is not possible to set the value of the serialization parameter to the literal 7-character string &quot;#absent&quot;
&lt;/quote&gt;

The last part of the sentence (after the &quot;;&quot;) contradicts the previous part. We say it can be set to &quot;#absent&quot; and then we say it cannot be set to that value. Which is it? ;)

I&apos;d assume &quot;#absent&quot; is a valid value.

I noticed also that the syntax for xsl:output and xsl:result-document do not mention the &quot;#absent&quot;, I think it makes sense to add it there:

item-separator? = &quot;#absent&quot; | string</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124881</commentid>
    <comment_count>1</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2016-02-07 02:04:43 +0000</bug_when>
    <thetext>Thinking once more about it, perhaps the sentence could be slightly rewritten, something along those lines?

&lt;proposal&gt;
The value of the item-separator attribute provides the value of the item-separator parameter to the serialization method. The value of the serialization parameter can be any string (including a zero-length string), or absent. The default is the zero-length string. The special token &quot;#absent&quot; can be used as an alternative to signify that the attribute was omitted and the default zero-length string should be used. It is not possible to use the string &quot;#absent&quot; itself as an item separator as it is reserved as described above.
&lt;/proposal&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124886</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-02-07 13:23:25 +0000</bug_when>
    <thetext>You can set the item-separator *attribute* to the value &quot;#absent&quot;; this sets the item-separator *serialization parameter* to (let&apos;s call it) null, not to the string &quot;#absent&quot;.

To understand this paragraph you need to know that attributes and serialization parameters are not the same thing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125035</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-02-15 11:27:45 +0000</bug_when>
    <thetext>Resolved that no action was needed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>