Re: [xep-support] NPE during invoking XEP

From: Jirka Kosek <jirka@kosek.cz>
Date: Mon Mar 06 2006 - 06:46:34 PST

Jirka Kosek wrote:

> Could it be that XEP is not able to load fonts when xep.xml is
> referenced as resource:xep.xml and fonts are specified as relative paths?

This seems to be problem. If I configure Formatter with

props.setProperty("CONFIG",
"c:\\tomcat\\webapps\\XEPServlet\\WEB-INF\\classes\\xep.xml");

then everything works OK. But when I specify relative path to xep.xml as

props.setProperty("CONFIG", "resource:xep.xml");

I get the previously mentioned NPE. Hmmm. >:-(
Any ideas?

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                    Nejbližší termíny školení:
      ** XSLT 13.-16.3.2006 ** XML schémata 24.-26.4.2006 **
        ** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 **
------------------------------------------------------------------

-------------------
(*) 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 Mon Mar 6 07:21:27 2006

This archive was generated by hypermail 2.1.8 : Mon Mar 06 2006 - 07:21:28 PST