xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junghans, Stefan (EXTERN: T-SYS onsite)" <extern.stefan.jungh...@volkswagen.de>
Subject Batik 1.7 => SVGDocument class
Date Thu, 24 Jan 2008 13:39:35 GMT
Hi there!
I have a question about the new Batik 1.7 jar.

We have an application running with Batik 1.6. Because of some problems while loading some
SVG graphics (
java.io.IOException: Attribute "x" was already specified for element "svg". 	
	at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source) 	
	at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source) 	
	at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source) 	
	at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createSVGDocument(Unknown Source) 	
	at org.apache.batik.bridge.DocumentLoader.loadDocument(Unknown Source) 	
	at org.apache.batik.swing.svg.SVGDocumentLoader.run(Unknown Source)

The corresponding svg-element:
<svg version="1.1" id="Ebene_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
	 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
	 x="0px" y="0px" width="595.281px" height="841.894px" viewBox="0 0 595.281 841.894" enable-background="new
0 0 595.281 841.894"
), we wanted to change the batik component to 1.7.

After we have changed the JARs, we found out that there is no SVGDocument class in the 1.7
JAR, but the SVGDocumentFactory delivers as always a SVGDocument object.

Where can we get the SVGDocument class? Why is the class not implemented in the batik-ext.jar?
Is it a separat download of a special JAR or is it a bug while packing the JAR?

Best regards

Stefan Junghans

T-Systems on site services GmbH
Logistics Systems & Processes

Telefon/phone: +49-5361-9-87151
Telefax/telefax: +49-5361-9-xxxxx


Stefan Junghans
Senior Consultant
Benzstraße 25a, 38446 Wolfsburg
+49-5361-464 78-0 (Tel.)
+49-5361-464 78-10 (Fax.)
E-Mail: stefan.junghans@t-systems.com
Internet: http://www.t-systems.de 

Geschäftsführung: Dr. Frank Knauer, Thomas Müller-Braun
Handelsregister: Amtsgericht Berlin HRB 51336
Sitz der Gesellschaft: Berlin


View raw message