Bug 58221
| Summary: | XMLSerializer.serializeTo() has problems with namespaced attributes | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | peter.rietzler |
| Component: | XML | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | ap |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac (Intel) | ||
| OS: | OS X 10.6 | ||
peter.rietzler
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">
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
*** This bug has been marked as a duplicate of bug 22958 ***