An XML processor must always pass all characters in a document
  that are not markup through to the application.

Those spaces are content, not markup, so they must be passed through.

Now, if your document has a DTD, and the content model of A is
element content, and you are using a validating processor, the
processor must tell you that those text nodes are "ignorable"

Also from 2.10:

  A validating XML processor must also inform the application
  which of these characters constitute white space appearing in
  element content.


|       I really wonder:
| 
|               Isn't it weird? 

Nope.

|               Is it the normal behavior? 

Yep.

|               Is there a means to disable this, and have an IE-5.0-like 
behaviour? 

Nope.

|               Is it an actual compliance to XML and DOM specs?

Yes. IE5 is not.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <[EMAIL PROTECTED]>      | Nature is amoral, not immoral.
http://nwalsh.com/                 | [It] existed for eons before we
                                   | arrived, didn't know we were
                                   | coming, and doesn't give a damn
                                   | about us.--Stephen J. Gould

Reply via email to