Graham wrote:
No, since xml:space isn't a built-in part of XML,
Duh! Why then is it described in http://www.w3.org/TR/2004/REC-xml-20040204/#sec-white-space
and isn't referenced by the atom spec. It can only be used when spec-makers (us) say it can.
...and I think it should be allowed on text constructs and atom:content.
How are you supposed to write an HTML PRE (or any element using the CSS "white-space" property) if the Atom processor collapses whitespace?
<atom:content type="html"><![CDATA[
<p>Hello World! in C#:</p>
<pre>
class Main {
static public void main() {
System.Console.WriteLine("Hello World!");
}
}
</pre>
]]></atom:content>-- Thomas Broyer
