thread 3) Re: Fwd: Re: [XML-SIG] CDATA sections still not handled

matt matt@virtualspectator.com
Fri, 19 Jan 2001 09:53:29 +1300


On Fri, 19 Jan 2001, Norman Walsh wrote:
> / matt <matt@virtualspectator.com> was heard to say:
> | <?xml version='1.0' encoding='ISO-8859-1'?>
> | <text_20001222_154201>
> |   <body><![CDATA[some text and possibly some markup <name><<, but we don't
> | want to validate this yet]]>   </body>
> | </text_20001222_154201>
> | 
> | looks like markup inside CDATA to me ....  I think you actually mean
> | "unescaped" character data does not contain markup, eg : &lt; is certainly not
> | markup.
> 
> Yes, it looks like markup to you because you're a human being. 

That is exactly my purpose.

>At east, I think you are. Maybe you're just an NSA machine that passes
> the turing test, I dunno. Then again, maybe that's all I am, so
> nevermind. It does not look like markup to the XML processor.

> | what would you say to someone wanting to let other people put html formatting
> | in text node data, but knowing that html is often not written as valid xml,
> | then escaping it is a safe bet ....
> 
> I see your point, but I warned you that we were in danger of pedantry. :-)

The last thing I want is for the xml to become a mess, so pedantry is good. 
Perhaps it will force me to keep these messages seperate from the transport and
instead just place references within the document.

> 
>                                         Be seeing you,
>                                           norm
> 
> -- 
> Norman Walsh <ndw@nwalsh.com> | Do not seek to follow in the footsteps
> http://nwalsh.com/            | of men of old; seek what they
>                               | sought.--Matsuo Basho
--