<?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>1219</bug_id>
          
          <creation_ts>2005-04-06 21:07:07 +0000</creation_ts>
          <short_desc>Interaction of character maps and cdata-section-elements</short_desc>
          <delta_ts>2005-08-17 14:56:24 +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>Serialization 1.0</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</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="Scott Boag">scott_boag</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>3814</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-04-06 21:07:07 +0000</bug_when>
    <thetext>In serialization section 4, phase 2b states that character maps are not applied
in elements included with cdata-section-elements.

This seems an odd provision, and I wonder what the rationale for it is? It
upsets the sequential pipeline of character processing, and it&apos;s not clear to me
that it has any user benefits. It encourages users to use cdata-section-elements
as a mechanism for making character maps apply selectively to different parts of
the result document, which will only cause frustration because it doesn&apos;t do
that job very effectively. Admittedly there are some use cases for character
maps - such as generating entity references in the output - that don&apos;t make
sense within CDATA sections; but the answer to that is for users to avoid mixing
the two facilities.

Michael Kay</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3704</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Boag">scott_boag</who>
    <bug_when>2005-04-28 16:15:53 +0000</bug_when>
    <thetext>&gt; which will only cause frustration because it doesn&apos;t do
&gt; that job very effectively. 

Why not?  How else does one bypass the character mapping in selective cases,
except by using disable-output-escaping=&quot;yes&quot;, which is depreciated.  

(As a side note, the serialization spec does not seem to actually support
disable-output-escaping.  Is this a problem?)

Some History:
In http://lists.w3.org/Archives/Member/w3c-xsl-wg/2004Jul/0022 the minutes state:

&gt; In passing, the editor also notes that the second sentence of phase 2 is
&gt; wrong:  character mapping may affect characters that were affected by
&gt; creation of CDATA sections.  ...

But then in
http://www.w3.org/XML/Group/xsl-query-specs/last-call-comments/xquery-serialization/issues.xml#qt-2004Feb0362-11
Henry does not seem to follow up on this.

See also possibly http://lists.w3.org/Archives/Member/w3c-xsl-wg/2003Mar/0066</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3708</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Boag">scott_boag</who>
    <bug_when>2005-04-28 17:28:54 +0000</bug_when>
    <thetext>Resolved not to take action in 2005-04-28 telcon.  (see minutes for discussion)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>