Fix prefixing namespace prefix declarations when not using the default namespace (XML serialization bug)

This commit is contained in:
JSCHILL1 2009-08-12 09:49:22 -05:00
parent eb2a7a05ac
commit d4747e2bd7
5 changed files with 51 additions and 13 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:foo="http://foo/">
<!-- &lt;Jack &amp; Jill&gt; -->
<title>2 &lt; 5</title>
<desc>Peanut Butter &amp; Jelly</desc>

Before

Width:  |  Height:  |  Size: 320 B

After

Width:  |  Height:  |  Size: 344 B

Before After
Before After