<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="/css/atom.css" type="text/css"?><entry xmlns="http://purl.org/atom/ns#">
<created>2004-03-03T12:13:38Z</created>
<issued>2004-03-03T12:13:38Z</issued>
<title>XML legality question</title>
<modified>2004-03-03T12:13:38Z</modified>
<summary></summary>
<content type="text/html" mode="escaped">&lt;p&gt;Dumb question&amp;hellip; does anyone know if the following &lt;span class="caps"&gt;XML&lt;/span&gt; construct is technically legal?&lt;/p&gt;
&lt;blockquote&gt;&amp;lt;a title="&amp;lt;![CDATA[lame &amp;lt;i&amp;gt;test&amp;lt;/i&amp;gt;]]&amp;gt;" href="http://www.debian.org/"&amp;gt;blah&amp;lt;/a&amp;gt;&lt;/blockquote&gt;
&lt;p&gt;PyExpat barfs on it, as does Mozilla&amp;rsquo;s XML parser, and I suspect they&amp;rsquo;re right to do so, but I can&amp;rsquo;t find anything in the &lt;span class="caps"&gt;XML&lt;/span&gt; specification that says, definitively, whether or not &lt;span class="caps"&gt;CDATA&lt;/span&gt; declarations are allowed in attributes. (If this is incorrect &lt;span class="caps"&gt;XML&lt;/span&gt;, &lt;a href="http://www.movabletype.org/"&gt;Movable Type&lt;/a&gt; 2.661 generates invalid &lt;span class="caps"&gt;RDF&lt;/span&gt;/XML and my trackback discovery code &lt;em&gt;isn&amp;rsquo;t&lt;/em&gt; busted.)&lt;/p&gt;</content>
<link>http://blog.lordsutch.com/archives/1340</link>
<id>http://blog.lordsutch.com/atom.cgi/entryid=1340</id>
</entry>

