Hi,
I'm trying to upgrade from XEP 3.8.2 to 4.2. My 4.2 configuration works fine
when I use com.renderx.xep.XSLDriver from the command line. However, when I
try to call it from the Java API, I get:
[error] java.net.MalformedURLException: Invalid URL or non-existent file:
license.xml
[error] java.net.MalformedURLException: Invalid URL or non-existent file:
etc/license.txt
com.renderx.xep.lib.LicenseException: Cannot determine location of the
license file
at com.renderx.xep.lib.Conf.checkLicense(Unknown Source)
at com.renderx.xep.lib.Conf.<init>(Unknown Source)
at com.renderx.xep.FormatterCore.<init>(Unknown Source)
at com.renderx.xep.FormatterImpl.<init>(Unknown Source)
at com.renderx.xep.FormatterImpl.<init>(Unknown Source)
I know it's finding the xep.xml file, because if the change the LICENSE
option in the xep.xml, the first error message changes accordingly. The
license.xml is in the same directory as the xep.xml.
The API I'm using is:
java.util.Properties props = new java.util.Properties();
props.setProperty("CONFIG", XEP_ROOT_DIR+"/xep.xml");
FormatterImpl formatter = new FormatterImpl(props);
So, what am I missing?
Thanks,
Konrad
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Wed Apr 12 08:14:44 2006
This archive was generated by hypermail 2.1.8 : Wed Apr 12 2006 - 08:14:45 PDT