Please support expat for svg

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Please support expat for svg

Post by broucaries »

It seems that you use only sax for svg backend.

This is really nice and moreover you could without much effort support both libxml2 and expat.

It will help on macos and windows to support it.

Consider it as a low priority whishlist.

bastien
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Please support expat for svg

Post by broucaries »

User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Please support expat for svg

Post by magick »

We use libxml2 because the URL coder depends on xmlNanoFTP*() and xmlNanoHTTP*() which is not available in Expat. In addition we tried a quick port to the Expat SAX parser and it generated hundreds of compiler errors suggesting a nearly complete rewrite of the SVG coder to support Expat and libXML2.
Post Reply