xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrejus Chaliapinas" <a.chaliapi...@infosana.com>
Subject Any changes in regards to svg tags handling between Batik 1.6 and Batik 1.7?
Date Mon, 10 Mar 2008 15:11:49 GMT
Hi,

If I use batik-all-1.6.jar under JDK 1.4/1.5 - I could normally handle svg
tags, but if I use batik-all-1.7.jar instead - I get this exception:

java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGDocument
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:808)
	at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:147)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:475)
	at java.net.URLClassLoader.access$500(URLClassLoader.java:109)
	at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:848)
	at java.security.AccessController.doPrivileged1(Native Method)
	at
java.security.AccessController.doPrivileged(AccessController.java:389)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:371)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:570)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:442)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:502)
	at
org.apache.batik.dom.svg.SVGDOMImplementation.createDocument(Unknown Source)
	at
org.apache.fop.fo.extensions.svg.SVGElement.init(SVGElement.java:176)
	at
org.apache.fop.fo.extensions.svg.SVGElement.processNode(SVGElement.java:78)
	at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.jav
a:320)
	at
org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:188)
	at
org.apache.xml.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java
:205)
	at
org.apache.xml.serializer.ToSAXHandler.flushPending(ToSAXHandler.java:276)
	at
org.apache.xml.serializer.ToXMLSAXHandler.startPrefixMapping(ToXMLSAXHandler
.java:349)
	at
org.apache.xml.serializer.ToXMLSAXHandler.startPrefixMapping(ToXMLSAXHandler
.java:319)
	at
org.apache.xml.dtm.ref.DTMTreeWalker.startNode(DTMTreeWalker.java:251)
	at
org.apache.xml.dtm.ref.DTMTreeWalker.traverse(DTMTreeWalker.java:112)
	at
org.apache.xml.dtm.ref.sax2dtm.SAX2DTM.dispatchToEvents(SAX2DTM.java:753)
	at
org.apache.xalan.serialize.SerializerUtils.outputResultTreeFragment(Serializ
erUtils.java:137)
	at
org.apache.xalan.templates.ElemCopyOf.execute(ElemCopyOf.java:190)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2374)
	at
org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:126)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2374)
	at
org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:392)
	at
org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java:24
6)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2374)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
681)
	at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.ja
va:431)
	at
org.apache.xalan.templates.ElemForEach.execute(ElemForEach.java:271)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2374)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
681)
	at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.ja
va:431)
	at
org.apache.xalan.templates.ElemForEach.execute(ElemForEach.java:271)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2374)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
681)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2374)
	at
org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:392)
	at
org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java:24
6)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2374)
	at
org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:126)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2374)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
681)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2374)
	at
org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:392)
	at
org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java:24
6)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2374)
	at
org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:126)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2374)
	at
org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:392)
	at
org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java:24
6)
	at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.ja
va:431)
	at
org.apache.xalan.templates.ElemForEach.execute(ElemForEach.java:271)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2374)
	at
org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:392)
	at
org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java:24
6)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2374)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
681)
	at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.ja
va:431)
	at
org.apache.xalan.templates.ElemForEach.execute(ElemForEach.java:271)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2374)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
681)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2374)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
681)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2374)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
681)
	at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApp
lyTemplates.java:393)
	at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.jav
a:176)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2374)
	at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transformer
Impl.java:2245)
	at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava:1334)
	at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
738)
	at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
1251)
	at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
1229)

Any place to look at/change? While I could see that
org/w3c/dom/svg/SVGDocument class inside batik-all-1.6.jar, I don't see it
inside batik-all-1.7.jar

Thank you,
Andrejus


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message