Browse Source
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
3 changed files with 47 additions and 1 deletions
@ -0,0 +1,8 @@
@@ -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