xml-xalan-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Sankot" <sank...@seznam.cz>
Subject Fw: CDATA sections weird stuff
Date Thu, 03 Oct 2002 13:51:51 GMT
> ----- Original Message -----
> From: "Joseph Kesselman"
> To: "Michal Sankot"
>
> Unfortunately the XPath data model doesn't distinguish between CDATA
> Sections and other text, so XSLT per se doesn't really have a way to
> specify this distinction except during serialization (output).
>
> As I say, Xalan does try to preserve and use this information internally,
> but are situations where we can't -- at best, we could only hold onto it
> as long as the data is processed as nodes rather than text strings, to
> take one example.
>
> Been a while since I looked at that logic. If you can come up with a
> minimal stylesheet which demonstrates the problem along with the sample
> doc you've shown us, I can try to find a few minutes to take a quick look
> at it. It might not be a bad idea to post this into Bugzilla as an
> Enhancement request -- it really isn't a bug, but it is something we might
> be able to do better.
>
>
> (I'm afraid the real long-term answer is that any tool which can't handle
> *BOTH* per-character escaping and <![CDATA[]]> equivalently is basically
> inadequate for the modern web world and is going to have to be replaced.
> Remember, the W3C's direction is toward XHTML...)
>
> ______________________________________
> Joe Kesselman  / IBM Research
>


Mime
View raw message