I have a similar question, I would like to have a CDATA Element declared like:
<!ELEMENT name CDATA>
and then in the xml file:
<name>Hi, I can use <strong>strong</strong> tags if I feel like it </name>
but I get two distinct problems when running through a validator (validator.w3.org):
1) warning: CDATA declared content for every instance of the dtd that I've declared an element with CDATA and worse yet:
2) end tag for element "strong" which is not open.
what is going on? I thought CDATA wasn't supposed to be parsed. Basically, I'd like to sneak some xhtml into my xml dtd how can I do that so that tags like <strong> <em> and those sorts make it through?
ANy help is appreciated, on both 1 and 2 above.
warmest regards,
-Alex