You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Brian Minchau (JIRA)" <xa...@xml.apache.org> on 2005/05/03 22:20:09 UTC

[jira] Updated: (XALANJ-2107) java.io.FileNotFoundException error when executing samples with Tomcat

     [ http://issues.apache.org/jira/browse/XALANJ-2107?page=all ]

Brian Minchau updated XALANJ-2107:
----------------------------------

    fix-priority: fp3

When the sample creates a stream source object, it doesn't set the system ID, which it ought to do for good practice. To find the included stylesheet module a number of things are done, but since the primary stylesheet has no system ID set it isn't relative to that URI, so it starts to look in other places. 

Setting fp3 - per the Xalan-J issue meeting on May 3, 2005.

> java.io.FileNotFoundException error when executing samples with Tomcat
> ----------------------------------------------------------------------
>
>          Key: XALANJ-2107
>          URL: http://issues.apache.org/jira/browse/XALANJ-2107
>      Project: XalanJ2
>         Type: Bug
>   Components: Samples-Examples
>     Versions: 2.6
>  Environment: Tomcat 5.x
> Xalan 2.6
>     Reporter: Puneet

>
> Trying to execute the sample provided at following location:
> Samples\servlet\SimpleXSLTServlet
> In the birds.xsl, I included another XSL say "search.xsl", the xalan searches for that XSL in following directory:
> C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\search.xsl 
> basically the directory from where tomcat wa started. It should look for the xsl in context which was determined in the servlet by
> Source xmlSource = new StreamSource(new URL("file", "", ctx+"birds.xml").openStream());

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org