Search
Active

1
Sign in to vote
0
Sign in to vote
Sign in
to vote
Type: Bug
ID: 489112
Opened: 9/10/2009 7:21:42 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
MSXML has a pref whether to preserve whitespace or not, which can be overridden by setting xml:space="preserve" in the XML source.

Other browsers preserve whitespace by default, so for the sake of compatibility and not annoying countless of authors, IE should preserve whitespace by default.

This problem will become even worse when you implement XHTML and expose the whitespace difference to javascript authors.

Compare the first ABNF segment in http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p1-messaging-07.xml#rfc.section.2.1 in IE with other browsers.

I know the XML spec allows you to drop whitespace, but that does not help interop.
Details (expand)

Please verify that this issue occurs in Internet Explorer 8 RTW. Click here for more information.
Yes, this issue is reproduced in IE8 RTW.

1. What seems to be the problem? Click here for more information.
There is a loss of functionality or poor functionality within Internet Explorer.

2. What area did the issue occur in? Click here for more information.
----Web page displays incorrectly

3. What language of your browser's frame? Click here for more information.
Swedish

3a. What is your language preference order?  Click here for more information.
sv

 
Please try to reproduce this issue in No Add-ons mode and answer the following 2 questions. You can find the No Add-ons shortcut under All Programs > Accessories > System Tools > Internet Explorer (No Add-ons).  Click here for more information.

4.  What was the result of the issue after trying it in No Add-ons mode?
The issue reproduces in No Add-ons mode

5. If running in No Add-ons mode solves your issue, what kind of Add-ons are you using?
 

5a. If Other, then please list the add-on:
 


6. How often does this happen? Click here for more information.
Always Happens

7. What Operating System are you running? Click here for more information.
Windows XP SP3

8. Have you ever seen this problem before in Internet Explorer? Click here for more information.
This happens in IE6

9. Where does this occur?  Click here for more information.
Both

9a. Please provide the URL of the internet application being used.
 


10. Please list the reproduction steps. Click here for more information.
1. Use <x> <y/></x>

11. What are the expected results? Click here for more information.
There should be a text node for the space before the "y" element.

12. What are the actual results? Click here for more information.
No text node; whitespace is dropped.
File Attachments
0 attachments
Sign in to post a comment.