On Tue, Dec 16, 2014 at 08:24:27AM -0600, Christopher Carver wrote:
I am having an issue with Inkscape rendering SVG image differently based on
the way the SVG is written out. I start with a simple base case where text
is positioned within the drawing and save the file via Inkscape using
Inkscape's default file type. I then use PoswerShell to parse the SVG file
via XML parser and re-save the SVG file. I did not add, delete, or modify
the contents of the file.
Inkscape needs structural information that is not accounted for by the
SVG spec. It stores that in comments within the XML.
The only thing that did change was how the
elements are pretty printed to the file. The same XML components are there
and in the same order. But instead of having a separate line for say each
attribute, the attributes would all be on the same line.
Is it possible that PowerShell is not preserving those comments?