A
asaguden
Hi,
We have a production env with Resin 2.0.5 and
a development end with Resin 2.1.X.
Xslt cmd '<xsl:import href="common/general.xsl"/>' in file.xsl
works fine in Resin 2.1.X with
Java imports:
import javax.xml.transform.Transformer;
import javax.xml.transform.stream.StreamResult;
import javax.xml.transform.stream.StreamSource;
and transform code:
Transformer xsl = getTransform( "file.xsl" );
xsl.transform( new StreamSource( new StringReader( obj.toXML() ) ),
new StreamResult( res.getOutputStream() ) );
BUT same code in Resin 2.0.5 throws:
java.io.IOException: javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException:
"<swe>Fick IO-Undantag med stylesheet-fil</swe>: common/general.xsl
at
our.proprieritary.servlet.getTransform(OurBaseServlet.java:56) at
our.proprieritary.servlet.doPost(OurServlet.java:72) at
our.proprieritary.servlet.doGet(OurBaseServlet.java:110) at
our.proprieritary.servlet.service(OurBaseServlet.java:87) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:103) at
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:82)
at
com.caucho.server.http.Invocation.service(Invocation.java:288) at
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:132)
at
com.caucho.server.http.ServletServer.serviceTop(ServletServer.java:937)
at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:213)
at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:158)
at
com.caucho.server.TcpConnection.run(TcpConnection.java:140) at
java.lang.Thread.run(Thread.java:534)
What is the XSL difference between the two releases?
/ Peter
We have a production env with Resin 2.0.5 and
a development end with Resin 2.1.X.
Xslt cmd '<xsl:import href="common/general.xsl"/>' in file.xsl
works fine in Resin 2.1.X with
Java imports:
import javax.xml.transform.Transformer;
import javax.xml.transform.stream.StreamResult;
import javax.xml.transform.stream.StreamSource;
and transform code:
Transformer xsl = getTransform( "file.xsl" );
xsl.transform( new StreamSource( new StringReader( obj.toXML() ) ),
new StreamResult( res.getOutputStream() ) );
BUT same code in Resin 2.0.5 throws:
java.io.IOException: javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException:
"<swe>Fick IO-Undantag med stylesheet-fil</swe>: common/general.xsl
at
our.proprieritary.servlet.getTransform(OurBaseServlet.java:56) at
our.proprieritary.servlet.doPost(OurServlet.java:72) at
our.proprieritary.servlet.doGet(OurBaseServlet.java:110) at
our.proprieritary.servlet.service(OurBaseServlet.java:87) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:103) at
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:82)
at
com.caucho.server.http.Invocation.service(Invocation.java:288) at
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:132)
at
com.caucho.server.http.ServletServer.serviceTop(ServletServer.java:937)
at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:213)
at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:158)
at
com.caucho.server.TcpConnection.run(TcpConnection.java:140) at
java.lang.Thread.run(Thread.java:534)
What is the XSL difference between the two releases?
/ Peter