[xep-support] NPE during invoking XEP

Jirka Kosek jirka at kosek.cz
Mon Mar 6 06:46:34 PST 2006


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 at 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 **
------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3225 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20060306/9ded1005/attachment.bin>


More information about the Xep-support mailing list