In the XSLT newsgroup there was a complaint that Mozilla's XSLT processor does not generate an XML declaration with output method xml: <http://groups.google.com/group/mozilla.dev.tech.xslt/browse_frm/thread/82126090626f502f/34052abecbc660b5?hl=en#34052abecbc660b5> I have made two test cases, one using script here: <http://home.arcor.de/martin.honnen/mozillaBugs/xslt/xslOutputOmitXmlDeclaration1.html> That test case runs transformToDocument twice, the first time with omit-xml-declaration="no", the second time with omit-xml-declaration="yes", serializing the result documents with XMLSerializer. Both result documents do not have an XML declaration. The second test case uses an xml-stylesheet pi here: <http://home.arcor.de/martin.honnen/mozillaBugs/xslt/test2006071201.xml> If you choose "Save page as" -> "as complete web page" then Mozilla saves you the result of the XSLT transformation but there is no XML declaration in the saved document. The problem occurs with both Firefox 1.5 release as well as with trunk nightlies.
Created attachment 229231 [details] [diff] [review] v1
Status: ASSIGNED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9alpha
You need to log in before you can comment on or make changes to this bug.