Re: XML Declaration
Martin Honnen <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | Liberty Development |
| Message-ID | <dmi18j$5bo1__45701.4255146079$1133285397$gmane$org@ripley.aoltw.net> |
Martin Honnen wrote: > I have made a test case here: > <http://home.arcor.de/martin.honnen/mozillaBugs/domLevel2/CreateXMLDeclarationAsProcessingInstruction1.html> > > It is easy filing a bug with that but I am not sure about the component, > i.e. DOM with createProcessingInstruction or XML with XMLSerializer. Further test case here: <http://home.arcor.de/martin.honnen/mozillaBugs/domLevel2/CreateXMLDeclarationAsProcessingInstruction2.html> which creates two processing instructions looking like XML declarations so that the serialized markup is not well-formed then. Neither Mozilla (tested now with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051129 Firefox/1.6a1) nor other browsers give any errors when creating the DOM. Also no error when serializing. -- Martin Honnen http://JavaScript.FAQTs.com/