You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2004/09/29 17:46:59 UTC
DO NOT REPLY [Bug 31467] New: -
svg crashes FOP on OPENBSD - method isReadOnly()Z
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31467>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31467
svg crashes FOP on OPENBSD - method isReadOnly()Z
Summary: svg crashes FOP on OPENBSD - method isReadOnly()Z
Product: Fop
Version: 0.20.5
Platform: PC
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: svg
AssignedTo: fop-dev@xml.apache.org
ReportedBy: jcai@ceccontrols.com
I used FOP to generate PDF. It worked fine on my Window NT (JDK1.4.1). But
after I move to OPENBSD (JDK1.3.1), It throws method isReadOnly()Z exception.
The Xerces and Batik I used are in the FOP-0.20.5 package. I found in the
forums, they have the similar problem with me on FREEBSD
http://www.mail-archive.com/batik-users@xml.apache.org/msg04928.html.
<fo:block><fo:external-graphic src="url(logo.svg)" /></fo:block>
OS: OPENBSD
JAVA is 2 SDK v.1.3.1
fop.sh -xml data.xml -xsl desc.xsl -pdf temp.pdf
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] FOP 0.20.5
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[INFO] [1]
Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.batik.dom.AbstractAttr: method isReadonly()Z not found
at org.apache.batik.dom.AbstractAttr.setNodeValue
(AbstractAttr.java:112)
at org.apache.batik.dom.AbstractAttr.setValue(AbstractAttr.java:177)
at
org.apache.batik.dom.svg.AbstractElement$ExtendedNamedNodeHashMap.setUnspecifie
dAttribute(AbstractElement.java:238)
at org.apache.batik.dom.svg.AbstractElement.setUnspecifiedAttribute
(AbstractElement.java:149)
at org.apache.batik.dom.svg.AttributeInitializer.resetAttribute
(AttributeInitializer.java:94)
at org.apache.batik.dom.svg.AttributeInitializer.initializeAttributes
(AttributeInitializer.java:70)
at org.apache.batik.dom.svg.AbstractElement.initializeAttributes
(AbstractElement.java:115)
at org.apache.batik.dom.svg.AbstractElement.<init>
(AbstractElement.java:59)
at org.apache.batik.dom.svg.SVGOMElement.<init>(SVGOMElement.java:72)
at org.apache.batik.dom.svg.SVGStylableElement.<init>
(SVGStylableElement.java:70)
at org.apache.batik.dom.svg.SVGOMSVGElement.<init>
(SVGOMSVGElement.java:103)
at
org.apache.batik.dom.svg.SVGDOMImplementation$SvgElementFactory.create
(SVGDOMImplementation.java:1508)
at
org.apache.batik.dom.svg.ExtensibleSVGDOMImplementation.createElementNS
(ExtensibleSVGDOMImplementation.java:212)
at org.apache.batik.dom.svg.SVGOMDocument.createElementNS
(SVGOMDocument.java:338)