Bug 58221 - XMLSerializer.serializeTo() has problems with namespaced attributes
Summary: XMLSerializer.serializeTo() has problems with namespaced attributes
Status: RESOLVED DUPLICATE of bug 22958
Alias: None
Product: WebKit
Classification: Unclassified
Component: XML (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-11 01:33 PDT by peter.rietzler
Modified: 2011-04-11 11:12 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peter.rietzler 2011-04-11 01:33:38 PDT
Serializing the following document works:

<x xmlns="a" xmlns:b="b">
  <element b:attr="value"/>
</x>

However, if you create "element" with Javascript using createElementNS and setAttributeNS, then the serialized output is 

<element xmlns="a" attr="value" xmlns="b">
Comment 1 Alexey Proskuryakov 2011-04-11 11:12:17 PDT

*** This bug has been marked as a duplicate of bug 22958 ***