xq
xq copied to clipboard
format svg error
svg file
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" height="297mm" width="210mm">
<g stroke="#2f4f4f" stroke-linecap="round" stroke-linejoin="round">
<g fill="#fff">
</g>
</g>
</svg>
xq cannot handle nested g elements and when "xmlns:svg" exists, causing "
<?xml version="1.0"?>
<svg:svg xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" height="297mm" width="210mm">
<svg:g stroke="#2f4f4f" stroke-linecap="round" stroke-linejoin="round">
<svg:g fill="#fff"/>/>
</svg:svg>
Hmm, very interesting, thank you for your report!