More XML shenanigans

drhyde on 2007-02-07T21:47:54

I'm swatting deficiencies (they're not bugs, but hey) in XML::Tiny and I found something interesting in the XML spec. It says:

"significant" white space that should be preserved in the delivered version is common, for example in poetry and source code.


This is quite odd, as the w3c is otherwise keen on seperating markup from presentation.


Whitespace isn't always presentation

DAxelrod on 2007-02-08T21:33:42

Whitespace isn't solely presentational. For example, you'd want to preserve whitespace for a Python program, or a string literal.