Hello Xavier,

as I am new to qizx I did some mistakes.
RTFM-ing around I figured that:
- in qizx-admin I can open a local library on disc without starting and 
connecting to a server
- adding saxon9he.jar to the classpath of this qizx-admin I CAN use 
x:transform() with v2.0-stylesheets
- this is working perfect
Apologize for this.

But

Using saxon9he.jar in a standalone jetty server environment is still NOT working
with the already mentioned error messages.
Any further help on this topic is still highly appreciated as this is the 
proposed scenario.

Best Regards
Roman


-----Original Message-----
From: Xavier Franc [mailto:[email protected]]
Sent: Donnerstag, 5. April 2012 11:07
To: [email protected]; Roman Klein
Subject: Re: [Qizx] XSLT 2.0 and x:transform()

Well then, you have to copy the jar to the WEB-INF/lib
of your webapp.

Beyond that, for forcing Qizx or JAXP to use a XSLT jar,
there is a system property javax.xml.transform.TransformerFactory
that controls the XSLT implementation, but how to specify it
can be platform-dependent, so I cannot be more precise than that.
You have to refer to the appropriate documentation.

Cheers


On Thu, 05 Apr 2012 09:43:01 +0200, Roman Klein <[email protected]>
wrote:

> Hello Xavier,
>
> Thanks for your answer, but ..... mmhh
>
> Assuming that the x:transform() function is executed server-side,
> I'd expect to add the saxon-jar to the server classpath e.g.
> <jetty>/lib/ext or <tomcat>/lib/endorsed
> and optionally, additionally add some property setting
> to guide the server to use sf.net.saxon.TransformerFactoryImpl
> instead of org.apache.xalan.processor.TransformerFactoryImpl
>
> Following your approach I do get errors stating the v2.0-stylesheet
> could not be compiled.
> The error messages are indicating that still the standard xslt-processor
> is used.
> The stylesheet itself is working as I do use it in Orbeon forms
> sucessfully.
> A v1.0-stylesheet is properly processed.
>
> Following my above mentioned approach I do get an unspecified error:
> Failed to compile stylesheet. 1 error detected.
> This error occurs for v1.0 and v2.0-stylesheets,
> I therfore assume that the saxon as such is not properly recognized.
>
> How can I increase the verbosity of error messages, in which log-file
> can detailed
> error messages been seen?
>
> Best Regards
> Roman Klein
>

--
Xavier Franc
Qizx design and development

Rote Liste Service GmbH
Firmensitz: Mainzer Landstr. 55, 60329 Frankfurt am Main
Registergericht: Amtsgericht Frankfurt am Main, HRB 42436
Geschäftsführer: Roman Klein, Marlies Langendorf, Dr. Ulrich Vorderwülbecke
 
--
Qizx Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/qizx-support

Reply via email to