xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas B. Passin" <tpas...@mitretek.org>
Subject Re: question about embedded data in XML
Date Fri, 03 Nov 2000 21:14:15 GMT
Mark Shacklette aksed

> And this is I suppose the question, because what happens in the case
that THAT
> CDATA section itself includes XML, and to really get at it, what if
> enclosed XML itself includes multiple CDATA section.  Which CDATA
closure will
> operate?  Or am I missing something?
> the point is this:  Will Xerces parsers correctly work with something
like the
> following (pardon if it's not exacly correct, but you get the
> <foo><! [CDATA[<embeddedXML><! [CDATA[hello]]></embeddedXML>]]></foo>
>                                ^^^^^^^^^^^^^^
You can also include an xml fragment using an entity but then it would
get parsed, which you sain you don't want.  Why not include a reference
(http:// or file://) to the xml that you want to transmit, rather than
trying to include it verbatim?

Tom Passin

View raw message