fix: String() handled ns prefixes incorrectly
Previously parsing a document like this: <root xmlns:foo='http:/example.org/foo' foo:bar='1'/> Would produce an incorrect document when turning it back into a string: <root xmlns:foo='http:/example.org/foo' http:/example.org/foo:bar='1'/> This patch fixes this by implementing a proper lookup for namespace prefixes.master
parent
089e94f17d
commit
08c0943149
@ -0,0 +1,8 @@
|
||||
<root xmlns:foo='http:/example.org/foo'>
|
||||
<child foo:bar='1'>
|
||||
<grandchild xmlns:foo=''>
|
||||
<great-grandchild foo:bar='2'>
|
||||
</great-grandchild>
|
||||
</grandchild>
|
||||
</child>
|
||||
</root>
|
Loading…
Reference in New Issue