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
Message-Id: <E1DJHjv-0005fv-Lv@wiggum.w3.org>


           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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:23 UTC