Bug 106531

Summary: XMLSerializer's handling of namespaces seems to be pretty broken
Product: WebKit Reporter: Boris Zbarsky <bzbarsky>
Component: XMLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, rwlbuis
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Testcase none

Boris Zbarsky
Reported 2013-01-09 23:21:58 PST
Created attachment 182074 [details] Testcase I have yet to find a testcase that actually works correctly, but as a start attached is a simple one that goes wrong. In that testcase, a node with a null namespace is serialized but if the serialization were then parsed again that node would end up in a non-null namespace. I assume that this is not identical to bug 16496, since I'm using an XML document created via document.implementation....
Attachments
Testcase (341 bytes, text/html)
2013-01-09 23:21 PST, Boris Zbarsky
no flags
Rob Buis
Comment 1 2013-07-15 19:09:01 PDT
(In reply to comment #0) > Created an attachment (id=182074) [details] > Testcase > > I have yet to find a testcase that actually works correctly, but as a start attached is a simple one that goes wrong. In that testcase, a node with a null namespace is serialized but if the serialization were then parsed again that node would end up in a non-null namespace. > > I assume that this is not identical to bug 16496, since I'm using an XML document created via document.implementation.... Bug 16739 patch now contains a fix for the attached testcase.
Rob Buis
Comment 2 2013-07-30 19:00:18 PDT
Note You need to log in before you can comment on or make changes to this bug.