Fwd: Re: [XML-SIG] CDATA sections still not handled
Norman Walsh
ndw@nwalsh.com
18 Jan 2001 23:58:58 +0700
/ 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 : < is certainly not
| markup.
Yes, it looks like markup to you because you're a human being. At
least, 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. :-)
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