Antone Roundy wrote:
http://www.intertwingly.net/wiki/pie/PaceXhtmlNamespaceDiv
If the value of "type" is "XHTML", the content of the Text construct
MUST be a single xhtml:div element which MUST declare the XHTML namespace. The xhtml:div MAY contain XHTML text and markup that could
validly appear directly within an xhtml:div element. Receiving
software which displays the content MAY use the markup to aid in
displaying it. Escaped markup is interpreted as a text representation
of markup, and MUST NOT be interpreted as markup itself.
Namespace prefixes are still allowed?
Examples:
<summary type="XHTML"><div xmlns="http://www.w3.org/1999/xhtml" style="color:#03c;">This is <b>XHTML</b> content.</div></summary>
Can't we forbid the STYLE attribute? Or define a subset of allowed elements/attribute?
It would help a bit if we declare what XHTML DTD we are following. It would suck that when XHTML 2.0 is released we allow people to enter it directly without updating the Atom specification.
<summary type="XHTML"><div xmlns:xhtml="http://www.w3.org/1999/xhtml">This is <xhtml:b>XHTML</xhtml:b> content.</div></summary>
This DIV element != xhtml:div so this example would be invalid, right?
-- Anne van Kesteren <http://annevankesteren.nl/>
