Using a custom URI Resolver with Oxygen XSLT Debugger
Posted: Tue Jul 04, 2006 4:23 pm
We've got an XML document produced by a J2EE application deployed on Tomcat.
The application call a web service (PdfProviderService) in order to generate a PDF document. The web service is deployed on another machine running Tomcat + Axis.
The web service needs the XML document and an XSL document. These files are send as SOAP attachments from the J2EE application. The rendering is done by the web service through Apache FOP.
Sometimes, the XSL document references other xsl documents via <xsl:import> and <xsl:include>. In order to resolve these URIs during the rendering by the web service, a custom URI resolver is added to the transformer (Xalan) used by FOP. The relative URIs are resolved using a "base.uri" parameter when calling the web service. That way the web service can request to the J2EE application the dependent XSL documents throught HTTP. As a matter of fact, all the XSL documents are store in a repository within the J2EE application.
So when I try to debug a master XSL document containing links to dependent XSL document through the Oxygen XSLT debugger, the debugger can't manage to resolve all the relative URIs of these dependent XSL documents. Is there any way to setup my custom URI Resolver in the Oxygen XSLT Debugger in order to solve this issue ?
I thank you in avance for your help,
Bertrand GILLIS
Mainsys Engineering SA
http://www.mainsys.be
The application call a web service (PdfProviderService) in order to generate a PDF document. The web service is deployed on another machine running Tomcat + Axis.
The web service needs the XML document and an XSL document. These files are send as SOAP attachments from the J2EE application. The rendering is done by the web service through Apache FOP.
Sometimes, the XSL document references other xsl documents via <xsl:import> and <xsl:include>. In order to resolve these URIs during the rendering by the web service, a custom URI resolver is added to the transformer (Xalan) used by FOP. The relative URIs are resolved using a "base.uri" parameter when calling the web service. That way the web service can request to the J2EE application the dependent XSL documents throught HTTP. As a matter of fact, all the XSL documents are store in a repository within the J2EE application.
So when I try to debug a master XSL document containing links to dependent XSL document through the Oxygen XSLT debugger, the debugger can't manage to resolve all the relative URIs of these dependent XSL documents. Is there any way to setup my custom URI Resolver in the Oxygen XSLT Debugger in order to solve this issue ?
I thank you in avance for your help,
Bertrand GILLIS
Mainsys Engineering SA
http://www.mainsys.be