DOM Level 1 Compatibility Checker
Thursday October 19th, 2000
#4 Whitespace handling in Mozilla
Monday October 23rd, 2000 6:34 AM
You are replying to this message
I am not so sure that there should not be some cannonization. It would make the system more user friendly
You can always use entities if you want for some reasons the whitespace.
Or (from the spec) : A special attribute named xml:space may be attached to an element to signal an intention that in that element, white space should be preserved by applications. So if the XML document author cares about whitespaces he can just attach this attribute to the document root and Mozilla must behave accordingly.