Re: Icons/Symbols/Shapes



On Sat, Jun 16, 2012 at 11:18:18AM +0200, Hans Breuer wrote:

Am 16.06.2012 um 07:56 schrieb vwf:

Usual response would be: please include your problematic shape file for analysis,
but I've got it off-list. It appears handwritten instead of being based on an original 
shape export. I've spotted three issues which stress the respective XML parser
and might lead to incompatibilities between different library versions:
 1) the namespace declaration for xlink is missing [1]
 2) 'href' in the svg:image tag is missing the xlink namespace
 3) there is a superfluous closing svg:image tag

Thank you for looking into it. Loading my handwritten shape, exporting
it from dia, and comparing the two is a good technique. I fixed the
shape-file, but this does not solve the big problem
 
    <svg:image x="2.05" y="1.9" width="8.50044" height="7.45" xlink:href="testshape.svg"/>

The real problem is in testshape.svg: Linux loads it, Windows not.
testshape.svg is generated by inkscape.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]