MozillaZine

DOM Level 1 Compatibility Checker

Thursday October 19th, 2000

Miloslav Nic writes in: "Jiri Znamenacek officially announced availability of his excellent DOM1 reference. Examples provided with the reference also contain javascript calls to the relevant functions of DOM1 in your browser and its comparison with expected output. A very nice compatibility checker. According to Jiri Mozilla came out best in this comparison."


#4 Whitespace handling in Mozilla

by nicmila <nicmila@vscht.cz>

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.