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@renderx.com
cc
owner-xep-support@renderx.com, xep-support@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@renderx.com>
Sent by: owner-xep-support@renderx.com
07/31/2009 11:06 AM
Please respond to
xep-support@renderx.com
To
xep-support@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@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 ------------------- (*) 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.htmlReceived on Tue Aug 11 11:03:15 2009
This archive was generated by hypermail 2.1.8 : Tue Aug 11 2009 - 11:03:16 PDT