W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2005

[Bug 1219] New: Interaction of character maps and cdata-section-elements

From: <bugzilla@wiggum.w3.org>
Date: Wed, 06 Apr 2005 21:07:07 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1DJHjv-0005fv-Lv@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1219

           Summary: Interaction of character maps and cdata-section-elements
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Serialization
        AssignedTo: scott_boag@us.ibm.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


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'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'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't make
sense within CDATA sections; but the answer to that is for users to avoid mixing
the two facilities.

Michael Kay
Received on Wednesday, 6 April 2005 21:07:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:37 GMT