Nguyen, Thang
2007-04-16 07:25:35 UTC
hi,
my problem is: I put the fop code to a dll (reference to fop.dll, gnuclasspath.dll, ikvmruntime.dll) and call it from the executable and it didn't work (1).
But if I put the fop code into the executable (2) then everything works fine.
in case (1) even I already have:
java.lang.System.setProperty("javax.xml.parsers.SAXParserFactory",
"org.apache.xerces.jaxp.SAXParserFactoryImpl");
but
_saxFactory = SAXParserFactory.newInstance();
still returns a gnu sax factory instead of xerces factory
my guess is current domain needs to load the fop.dll, I did make a try but can not solve the problem. Plz help.
thanks,
Thang.
This email may contain material that is confidential, privileged and/or attorney work product for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
my problem is: I put the fop code to a dll (reference to fop.dll, gnuclasspath.dll, ikvmruntime.dll) and call it from the executable and it didn't work (1).
But if I put the fop code into the executable (2) then everything works fine.
in case (1) even I already have:
java.lang.System.setProperty("javax.xml.parsers.SAXParserFactory",
"org.apache.xerces.jaxp.SAXParserFactoryImpl");
but
_saxFactory = SAXParserFactory.newInstance();
still returns a gnu sax factory instead of xerces factory
my guess is current domain needs to load the fop.dll, I did make a try but can not solve the problem. Plz help.
thanks,
Thang.
This email may contain material that is confidential, privileged and/or attorney work product for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.