[XML-SIG] CDATA sections still not handled

Norman Walsh ndw@nwalsh.com
16 Jan 2001 14:41:25 +0700


<delurk><![CDATA[
/ matt <matt@virtualspectator.com> was heard to say:
| Sorry, the result of the ext.PrettyPrint is :
[...]
| </one>
| some test data
| </item_20001204_035952>
| 
| the CDATA escaping has disappeared

IMHO, that's the behavior that you should expect. CDATA sections are
an escaping mechanism, but a serializer is free to choose an alternate
escaping mechanism if it chooses.

Note also that CDATA escaping and document encoding are related.  It's
possible to construct documents (if you combine several input sources)
that *cannot* preserve the CDATA escaping and the desired encoding.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Life is an irritation--Tucker Case
http://nwalsh.com/            | (Christopher Moore)
]]></delurk>