[xep-support] Re: Trying to use XSLT 2.0 in an XEP transformation

From: Terrance Bockhol <terry_at_ADDRESS_REMOVED>
Date: Thu Aug 29 2019 - 08:34:50 PDT

It looks like you have an invalid namespace defined in your stylesheet.
http://uri-for-function-namespace looks like it may have beencopied from
an example.
A typical namespace declaration looks like

<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">

Terrance Bockhol
Sebis Direct, Inc.
IT Development
312-243-9300 x16
312-841-1979 (mobile)

On 08/28/2019 03:21 PM, Harvey, Paul J. EOP/OMB (Contractor) wrote:
>
> I am executing a shell script which contains something like this…
>
> CP=$XEP_HOME/lib/xep.jar:$XEP_HOME/lib/saxon9.jar:$XEP_HOME/lib/xt.jar
>
> $JAVA_HOME/bin/java -Xms64M -Xmx1096M -cp $CP
> com.renderx.xep.XSLDriver $*
>
> …the stylesheet I pass to the script contains some XSLT 2.0 stuff (a
> function call) and this is producing an error of the form…
>
> The URI http://uri-for-function-namespace does not identify an
> external Java class
>
> …which means, I think, that saxon9 is not being used even though I set
> it in the classpath. (I confirmed this by removing it from the
> classpath, and I get the same error.)
>
> I confirmed that $XEP_HOME/lib/saxon9.jarworks with a simple XSLT 2.0
> transformation run with directly with it.
>
> 1)Does my reasoning sound correct?
>
> 2)How would I get the transformation to use saxon9 if setting it on
> the classpath is not working?
>
> 3)Any other things you’d suggest I look at to solve this?
>
> FYI, I don’t with Java much, so my lack of knowledge there may be
> playing into this.
>
> Thanks,
>
> Paul
>
>
>
> _______________________________________________
> (*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
> (*) By using the Service, you expressly agree to these Terms of Service http://w
> ww.renderx.com/terms-of-service.html

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Thu Aug 29 08:35:48 2019

This archive was generated by hypermail 2.1.8 : Thu Aug 29 2019 - 08:36:06 PDT