Closed Bug 284407 Opened 20 years ago Closed 20 years ago

view source of well formed xml shows different document

Categories

(Toolkit :: View Source, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 154120

People

(Reporter: bimcio, Assigned: bugs)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1

When opening well-formed xml file firefox show it properly, but view page source
shows malformed xml source. 

Reproducible: Always

Steps to Reproduce:
1. Save the following piece of code into new file: 
<m>

  <g c1 = "1" s="2" c2  = "ab">	
  </g> 

</m>

2. Open the file
3. View source of the page 

Actual Results:  
View source shows the following: 

<m>

  <g c1 =" 1" s="2" c2  =" ab">	
  </g> 

</m>

Please note the spaces before attrbiutes values. Note, that when there is niot
spaces between name, '=' character and attribute value, then problem does not
appear. 

Expected Results:  
Exactly the source of loaded xml file.
This is fixed for Firefox 1.1.

*** This bug has been marked as a duplicate of 154120 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Summary: view source of well formed xml shows different document → view source of well formed xml shows different document
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.