Re: [xep-support] NPE during invoking XEP

From: Jirka Kosek <jirka@kosek.cz>
Date: Mon Mar 06 2006 - 07:03:56 PST

Jirka Kosek wrote:

> 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?

OK, I will answer myself. It can help in future to someone else:

formatter = new com.renderx.xep.FormatterImpl(new
javax.xml.transform.stream.StreamSource(FormatterServlet.class.getClassLoader().getResource("xep.xml").toString()));

BTW, are there any hours when I can get response to questions directly
from XEP folks in a timely fashion (or have I use support@ instead of
xep-support@ for this)?

-- 
------------------------------------------------------------------
   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:35:35 2006

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