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 Alf Eaton for When parsing Atom XML feeds, how should conflicting CDATA and entity escaped elements be handled?

$
0
0

Both opinions are correct:

  • The title encoded as text is Johnson & Johnson.
  • The title encoded as HTML is Johnson & Johnson
  • The title encoded as HTML in XML is <![CDATA[Johnson &amp; Johnson]]>

Viewing all articles
Browse latest Browse all 4

Trending Articles



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