[XML-SIG] CDATA sections still not handled

matt matt@virtualspectator.com
Fri, 19 Jan 2001 09:15:13 +1300


On Fri, 19 Jan 2001, John Day wrote:
> 
> At 10:27 PM 1/18/01 +1300, matt wrote:
> >weird, and all that you had was the raw transport packets on your server, then
> >if things are still wrapped in nice CDATA tags then you can easily look
> >through it and find the improper formatting in the message.  However, if the
> 
> Matt,
> 
> I think most of your problem is caused by viewing CDATA as a kind of markup 
> tag. It's not. Your problem is easily solved by inventing some real XML tag 
> to wrap around your 'encoded' data, e.g.
> 
> <html>  {HTML-encoded-as-CDATA-or-whatever} </html>
> 
> Then you won't care how the html is handled but you can still extract all 
> of the precisely because it's marked up by 'real' tags.


I do that already .... I usually wrap all messages with <message> ....
</message>.  I certainly don't use CDATA as an identifier.  Any DOM
implementation that would allow me to do that would be wrong in doing so.

> 
> John Day
> Staff Scientist
> Computer Science Innovations

----------------------------------------
Content-Type: text/html; name="unnamed"
Content-Transfer-Encoding: 7bit
Content-Description: 
----------------------------------------