Fw: [xep-support] Calling from servlet not working as expected.

SPatra at eagle.org SPatra at eagle.org
Tue Aug 11 10:37:50 PDT 2009


Hi Alexey,

One more question related to your previous reply:

Either by declaring at the startup script or by calling "
System.setProperty", we can use the saxon parser and it works good.

However, as our current application uses Oracle default xml parser and by 
changing the XML parser as above, it will impact the whole application.

So, is there a way or any API that allows to instantiate the FormatterImpl 
or FOTransformer which can take the saxon parser at run time as argument 
and use the same instead of using from System property?



Thanks.


Regards,

Santosh
281-877-6277
----- Forwarded by Santosh Kumar Patra/Americas/ABS on 08/11/2009 12:31 PM 
-----

Santosh Kumar Patra/Americas/ABS
08/03/2009 05:26 PM

To
xep-support at renderx.com
cc
owner-xep-support at renderx.com, xep-support at renderx.com
Subject
Re: [xep-support] Calling from servlet not working as expected.





Hi Alexey,

Thank you very much for identifying the issue.

You are correct. After updating my startup script, it works good with OC4J 
also.

Thanks again.


Thanks.


Regards,

Santosh
281-877-6277



Alexey Gagarinov <agagarinov at renderx.com> 
Sent by: owner-xep-support at renderx.com
07/31/2009 11:06 AM
Please respond to
xep-support at renderx.com


To
xep-support at renderx.com
cc

Subject
Re: [xep-support] Calling from servlet not working as expected.






Santosh,

> As I mentioned earlier, my sample servlet with RenderX API  does not 
> good with OC4J app server (with J2SE1.4 and Servlet spec2.3).

OC4J has a built-in (preloaded) Oracle XML parser, an old and buggy one.

You should force to use Saxon XSLT transformer (Saxon is shipped with 
Aelfred XML parser).

Please make sure that saxon.jat is in the classpath and try to add the 
javax.xml.parsers.SAXParserFactory and 
javax.xml.transform.TransformerFactory properties into the launch sript:

...
-Djavax.xml.parsers.SAXParserFactory=com.icl.saxon.aelfred.SAXParserFactoryImpl
-Djavax.xml.transform.TransformerFactory=com.icl.saxon.TransformerFactoryImpl
com.renderx.xep.XSLDriver ...


Are you sure that XEP writes no errors/exceptions into the log 
(System.err)?

Regards,
   Alexey Gagarinov
RenderX
---
www.renderx.com



-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at 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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20090811/cf1a7a78/attachment.html>


More information about the Xep-support mailing list