- Original Message -
From: J.Pietschmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 18, 2002 7:50 PM
Subject: Re: runtime ExceptionInInitializerError: first steps
Uncaught exception (java.lang.ExceptionInInitializerError)
SVGElementMapping.setupSVG
Ok,thanks
... this is (now) clear!! :-)
but why it does not work width the
URI???
thanks
Massimiliano
- Original Message -
From:
Oleg
Tkachenko
To: [EMAIL PROTECTED]
Sent: Friday, May 17, 2002 11:35 PM
Subject: RE: runtime
ExceptionInInitializerError: first
- Original Message -
*From:* Oleg Tkachenko mailto:[EMAIL PROTECTED]
*To:* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
*Sent:* Friday, May 17, 2002 11:35 PM
*Subject:* RE: runtime ExceptionInInitializerError: first steps
Hello!
InputSource class have
the URI???
thanks
Massimiliano
- Original Message -
*From:* Oleg Tkachenko mailto:[EMAIL PROTECTED]
*To:* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
*Sent:* Friday, May 17, 2002 11:35 PM
*Subject:* RE: runtime ExceptionInInitializerError: first steps
Massimiliano Cuccia [EMAIL PROTECTED] wrote:
Uncaught exception (java.lang.ExceptionInInitializerError)
SVGElementMapping.setupSVG()
SVGElementMapping.addToBuilder(TreeBuilder)
...
Do you have Batik in the classpath?
YES, it is.
If so, it is the version taken from the FOP
Massimiliano Cuccia wrote:
Sorry for missing informations ...
now I will try to be more unambiguous
this is my Java code
1Driver driver =
new Driver(
new InputSource(new
java.io.FileInputStream(C:\\character.fo)),
new
GREAT!!!
Did you import resources from batik.jar along with classes ?
... very very well!! :-)
I had not checked the item in import phase!! sorry ...
Now there is another problem
import of Xerces 1.2.3 is impossible ...
VisualAge starts the import than close the window without any message and
Hello!
InputSource class havethe only String constructor
and that String is supposed to be system id (URI), for example, file
name.
See http://www.saxproject.org/apidoc/org/xml/sax/InputSource.htmlfor
more info.
If you
want to create InputSource from serialized xml you need something like