DOM Level 1 Compatibility Checker
Thursday October 19th, 2000
#2 Re: Wierd test suite
Monday October 23rd, 2000 12:52 AM
You are replying to this message
This prolem is a bit more involved. Standard says: An XML processor must always pass all characters in a document that are not markup through to the application. 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 Mozilla does it in a standard way. But I agree that it would be much more convenient (and also standard) remove non-significant whitespaces.
Maybe it would be a good idea to look at XML canonization: <http://www.w3.org/TR/2000/WD-xml-c14n-20001011> (only a working draft at this moment) and use from it everything which does not impose too large processing penalty