Opened 11 years ago

Closed 11 years ago

#8997 closed defect (invalid)

gfx generated SVG has an unclosed <image> tag that is not valid XML

Reported by: jcasier Owned by: Eugene Lazutkin
Priority: high Milestone: tbd
Component: DojoX GFX Version: 1.2.3
Keywords: gfx svg Cc:
Blocked By: Blocking:

Description

I created a gfx drawing using firefox that uses the SVG renderer to display. It includes as set of images created with surface.createImage()

The <image> tags it generates in the <svg> output are not closed and as such are not valid XML, though they do display in firefox. When I tried to save that <svg> ... </svg> output to a file and show it in e.g. safari or inkscape it complains about the unclosed tags.

When the tags are manually closed e.g. with </image> the svg displays correctly in inkscape and safari.

Change History (1)

comment:1 Changed 11 years ago by Eugene Lazutkin

Resolution: invalid
Status: newclosed

dojox.gfx does not "generate SVG", but uses DOM => no textual generation is done => there is no notion of "closing tags" => therefore it is not possible to get it wrong.

File a bug against Firefox, or whatever you use to generate the textual representation of SVG from DOM.

Note: See TracTickets for help on using tickets.