You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Philippe Serenne <ph...@altiance.com> on 2001/03/03 19:06:29 UTC

Bug in xalan2 ? (windows ptf)

The following works fine with xalan 1:
java  org.apache.xalan.xslt.Process -IN 
C:\xalan2\samples\SimpleTransform\birds.xml
                                    -XSL 
C:\xalan2\samples\SimpleTransform\birds.xsl
                                    -OUT aa

But doesn't work with xalan2 (message XSLT error 
javax.sxml.transform.TransformerExcpetion : File 
C:\xalan2\samples\SimpleTransform\birds.xsl  not found

But :
java  org.apache.xalan.xslt.Process -IN 
..\samples\SimpleTransform\birds.xml -XSL 
..\samples\SimpleTransform\birds.xsl -OUT aa

Works fine.

It seems that absolute path on windows don(t work ?

if this can help...

regards
filou


Re: Bug in xalan2 ? (windows ptf)

Posted by Gary L Peskin <ga...@firstech.com>.
Philippe Serenne wrote:
> 
> The following works fine with xalan 1:
> java  org.apache.xalan.xslt.Process -IN
> C:\xalan2\samples\SimpleTransform\birds.xml
>                                    -XSL
> C:\xalan2\samples\SimpleTransform\birds.xsl
>                                    -OUT aa
> 
> But doesn't work with xalan2 (message XSLT error
> javax.sxml.transform.TransformerExcpetion : File
> C:\xalan2\samples\SimpleTransform\birds.xsl  not found
> 
> But :
> java  org.apache.xalan.xslt.Process -IN
> ..\samples\SimpleTransform\birds.xml -XSL
> ..\samples\SimpleTransform\birds.xsl -OUT aa
> 
> Works fine.
> 
> It seems that absolute path on windows don(t work ?
> 
> if this can help...
> 
> regards
> filou

Filou --

XalanJ2 requires URIs.  To use absolute URIs, try:

java org.apache.xalan.xslt.Process -IN
file:///c:/xalan2/samples/SimpleTransform/birds.xml -XSL
file:///c:/xalan2/samples/SimpleTransform/birds.xsl

Gary