[XML-SIG] CDATA sections still not handled

John Day jday@csihq.com
Thu, 18 Jan 2001 11:26:30 -0500


--=====================_56340670==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

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.

John Day
Staff Scientist
Computer Science Innovations
--=====================_56340670==_.ALT
Content-Type: text/html; charset="us-ascii"

<html>
At 10:27 PM 1/18/01 +1300, matt wrote:<br>
<blockquote type=cite cite>weird, and all that you had was the raw
transport packets on your server, then<br>
if things are still wrapped in <b>nice CDATA tags</b> then you can easily
look<br>
through it and find the improper formatting in the message.&nbsp;
However, if the</blockquote><br>
Matt,<br>
<br>
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.<br>
<br>
&lt;html&gt;&nbsp; {HTML-encoded-as-CDATA-or-whatever} 
&lt;/html&gt;<br>
<br>
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.<br>
<br>
John Day<br>
Staff Scientist<br>
Computer Science Innovations</html>

--=====================_56340670==_.ALT--