Closed
Bug 288133
Opened 19 years ago
Closed 19 years ago
[FIXr]mozilla SVG build up to 2005032900: xml doctype declaration empty in save page
Categories
(Core :: XML, defect, P1)
Core
XML
Tracking
()
RESOLVED
FIXED
mozilla1.8beta2
People
(Reporter: kohl, Assigned: bzbarsky)
References
Details
(Keywords: regression)
Attachments
(2 files)
447 bytes,
text/xml
|
Details | |
10.62 KB,
patch
|
peterv
:
review+
peterv
:
superreview+
asa
:
approval1.8b2+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050329 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050329 DOCTYPE empty after saving complete xml pages using mozilla SVG build up to 2005032900. (for same file: DOCTYPE is saved correctly when using Firefox 1.0) ((preparing error messages for Mozilla SVG isn't easier with this error)) Reproducible: Always Steps to Reproduce: 1.run the appended xml file 2.save page (completely) 3.start saved page will end up as "XML Parsing Error: syntax error" pointing to an emptied "<!DOCTYPE >" Actual Results: XML Parsing Error Expected Results: correct saving of xml page
Reporter | ||
Comment 1•19 years ago
|
||
Reporter | ||
Comment 2•19 years ago
|
||
XML file is correct, when stored alone (in the reduced example it is only an XML file, and Firefox isn't showing up the question of saving all files)
Comment 3•19 years ago
|
||
Is this Mozilla Application Suite with SVG enabled specific?
Comment 4•19 years ago
|
||
Confirming for trunk suite. The problem doesn't exist for trunk firefox.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 5•19 years ago
|
||
Jonathan, it "works in Firefox" because you're comparing apples and oranges. The bug only appears in the "web page, complete" mode, which Firefox doesn't offer for XML files for some reason. So this is a basic WebBrowserPersist bug...
Assignee: general → file-handling
Component: General → File Handling
OS: Windows XP → All
Product: Mozilla Application Suite → Core
QA Contact: general → ian
Hardware: PC → All
Version: unspecified → Trunk
Assignee | ||
Comment 6•19 years ago
|
||
This broke between 2004-12-15-06 and 2004-12-16-08; probably with the expat landing. DOM inspector also shows an empty node where it should show the doctype, so it looks like doctype node creation in general was broken... Over to XML; we should really fix this for 1.8.
Assignee: file-handling → xml
Component: File Handling → XML
Flags: blocking1.8b3?
QA Contact: ian → ashshbhatt
Updated•19 years ago
|
Assignee: xml → peterv
Priority: -- → P1
Target Milestone: --- → mozilla1.8beta3
Keywords: regression
Assignee | ||
Comment 7•19 years ago
|
||
Luckily, expat now does all this work for us!
Assignee: peterv → bzbarsky
Status: NEW → ASSIGNED
Attachment #183058 -
Flags: superreview?(peterv)
Attachment #183058 -
Flags: review?(peterv)
Assignee | ||
Updated•19 years ago
|
Summary: mozilla SVG build up to 2005032900: xml doctype declaration empty in save page → [FIX]mozilla SVG build up to 2005032900: xml doctype declaration empty in save page
Comment 8•19 years ago
|
||
Comment on attachment 183058 [details] [diff] [review] Proposed patch Hey, I was about to do that :-/.
Attachment #183058 -
Flags: superreview?(peterv)
Attachment #183058 -
Flags: superreview+
Attachment #183058 -
Flags: review?(peterv)
Attachment #183058 -
Flags: review+
Assignee | ||
Comment 9•19 years ago
|
||
Comment on attachment 183058 [details] [diff] [review] Proposed patch Requesting 1.8b2 approval. This unregresses XML doctype DOM node construction, mostly by removing code that was doing work that Expat now does...
Attachment #183058 -
Flags: approval1.8b2?
Assignee | ||
Updated•19 years ago
|
Summary: [FIX]mozilla SVG build up to 2005032900: xml doctype declaration empty in save page → [FIXr]mozilla SVG build up to 2005032900: xml doctype declaration empty in save page
Comment 10•19 years ago
|
||
Comment on attachment 183058 [details] [diff] [review] Proposed patch a=asa
Attachment #183058 -
Flags: approval1.8b2? → approval1.8b2+
Assignee | ||
Comment 11•19 years ago
|
||
Fixed
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: mozilla1.8beta3 → mozilla1.8beta2
Updated•19 years ago
|
Flags: blocking1.8b3?
Assignee | ||
Comment 12•19 years ago
|
||
*** Bug 296359 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•