[xml] rsvg-convert issue with libxml 2.9.5
- From: Petr Sumbera <petr sumbera oracle com>
- To: xml gnome org
- Subject: [xml] rsvg-convert issue with libxml 2.9.5
- Date: Tue, 19 Sep 2017 10:58:04 +0200
Hi,
we have svg file which used to work with libxml 2.9.4. Now with 2.9.5
(plus latest few commits) I see:
$ rsvg-convert test.svg > test.png
Error reading SVG:Error domain 1 code 4 on line 1 column 1 of
file:///builds/psumbera/userland-libxml2-2.9.5/components/libxml2/build/prototype/test.svg:
Start tag expected, '<' not found
$ head -13 test2.svg
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 13.0.2, SVG Export Plug-In . SVG
Version: 6.00 Build 14948) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
<!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
<!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
<!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
<!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
<!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
<!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
<!ENTITY ns_custom
"http://ns.adobe.com/GenericCustomNamespace/1.0/">
<!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
]>
<svg version="1.0"
---
When I modify the file little bit it seems to work again:
$ head -4 test2.svg
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 13.0.2, SVG Export Plug-In . SVG
Version: 6.00 Build 14948) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" >
<svg version="1.0"
---
Any idea what is wrong?
Thank you,
Petr
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]