[xml/sgml-pkgs] Bug#546488: Bug#546488: libxml2: 2.7.4 breaks inkscape

Mike Hommey mh at glandium.org
Sun Sep 13 20:20:44 UTC 2009


On Sun, Sep 13, 2009 at 05:35:45PM +0200, Alexander Heinlein wrote:
> Package: libxml2
> Version: 2.7.4.dfsg-1
> Severity: normal
> 
> Hi.
> 
> Upgrading libxml2 from version 2.7.3.dfsg-2.1 to 2.7.4.dfsg-1 breaks
> inkscape (0.46-9):
> 
> 
> /usr/share/inkscape/extensions/render_barcode.inx:1: parser error : XML
> / declaration allowed only at the start of the document
> <?xml version="1.0"?>
>      ^
> 
> ** (inkscape:32006): CRITICAL **: Inkscape::Extension::Extension*
> ** Inkscape::Extension::build_from_reprdoc(Inkscape::XML::Document*,
> ** Inkscape::Extension::Implementation::Implementation*): assertion `doc !=
> ** NULL' failed
> 
> ** (inkscape:32006): WARNING **: Unable to create extension from definition
> ** file /usr/share/inkscape/extensions/render_barcode.inx.
> 
> /usr/share/inkscape/templates/default.svg:1: parser error : XML declaration
> / allowed only at the start of the document
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>      ^

Does the default.svg file begin with <?xml or are there characters
before that ? If there are, I'm afraid the new libxml2 is only stricter
for xml conformance, but the real bug lies in inkscape.

Same question for the render_barcode.inx file.

Mike





More information about the debian-xml-sgml-pkgs mailing list