Quantcast
Channel: When parsing Atom XML feeds, how should conflicting CDATA and entity escaped elements be handled? - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Answer by Mike for When parsing Atom XML feeds, how should conflicting CDATA and entity escaped elements be handled?

$
0
0

CDATA is character data - completely ignored by the parser between . It has to be since xml cannot handle &. Therefore, there is no "double encoding" - any parser skips to the close tag, ignoring anything in between. I've not come across a parser that allows actual nesting (embedded full CDATA open and close tags).


Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>