<?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>6140</bug_id>
          
          <creation_ts>2008-10-07 08:30:12 +0000</creation_ts>
          <short_desc>[XSLT 2.0] disable-escaping property</short_desc>
          <delta_ts>2009-01-30 12:28:08 +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 2.0</component>
          <version>Recommendation</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>minor</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>22106</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-10-07 08:30:12 +0000</bug_when>
    <thetext>Editorial.

In section 20.2, the semantics of disable-output-escaping are explained by introducing a property called &quot;disable-escaping&quot; that is associated with every character in the result tree. In the following paragraph, this property is then referred to as &quot;disable-output&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22107</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-10-07 08:43:40 +0000</bug_when>
    <thetext>A slightly more substantial comment: there is a contradiction in the specification on how sticky disable-output-escaping is handled. Section 20.2 says normatively:

&quot;If output escaping is disabled for an xsl:value-of or xsl:text  instruction evaluated when temporary output state is in effect, the request to disable output escaping is ignored.&quot;

But clause 20 of J.1.4 says non-normatively:

&quot;An erratum to XSLT 1.0 specified what has become known as &quot;sticky disable-output-escaping&quot;: specifically, that it should be possible to use disable-output-escaping when writing a node to a temporary tree, and that this information would be retained for use when the same node was later copied to a final result tree and serialized. XSLT 2.0 no longer specifies this behavior (though it permits it, at the discretion of the implementation).&quot;

I think the final phrase in parentheses is wrong: 20.2 says that d-o-e is ignored when writing to a variable, not that the effect is implementation-defined.


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23356</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2009-01-30 12:27:58 +0000</bug_when>
    <thetext>As agreed by the XSL WG on 2009-01-29, erratum E32 has been drafted to make these editorial corrections. The bug is therefore being marked fixed and closed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>