Resin 2.0.5 vs Resin 2.1.X XSLT diff?

Discussion in 'Java' started by asaguden, Jan 24, 2005.

  1. asaguden

    asaguden Guest

    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
     
    asaguden, Jan 24, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Cyril Vi?ville

    diff Process under diff users

    Cyril Vi?ville, Jun 29, 2004, in forum: Perl
    Replies:
    1
    Views:
    514
    Joe Smith
    Jun 29, 2004
  2. Berrucho
    Replies:
    2
    Views:
    644
    Infant Newbie
    Dec 5, 2003
  3. A Traveler

    Diff CSS styles for diff INPUT TYPE='s?

    A Traveler, Aug 31, 2004, in forum: ASP .Net
    Replies:
    6
    Views:
    4,932
    Steve Fulton
    Aug 31, 2004
  4. dhek bhun kho

    Resin/JNDI: object lifecycle

    dhek bhun kho, Jul 2, 2003, in forum: Java
    Replies:
    0
    Views:
    1,578
    dhek bhun kho
    Jul 2, 2003
  5. Austin Ziegler

    [ANN] Diff::LCS 1.1.0, Diff::LCS 1.0.4

    Austin Ziegler, Aug 8, 2004, in forum: Ruby
    Replies:
    3
    Views:
    197
    Austin Ziegler
    Aug 9, 2004
Loading...

Share This Page