xml-xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kjell Helge Strøm <Kjell-Helge.St...@Infomedica.telenor.no>
Subject RE: SimpleTransform Problem
Date Tue, 22 Aug 2000 06:17:21 GMT
Had the same problem, give the complete path - eg. D:\src\xslt\foo.xml

Kjell Helge

> -----Original Message-----
> From: Steven Smith [mailto:ssmith@neonsys.com]
> Sent: 22. august 2000 05:21
> To: xalan-dev@xml.apache.org
> Subject: SimpleTransform Problem
> 
> 
> 
> 
> (Embedded image moved to file: pic18727.pcx)   Steven Smith @ NEON
> 08/21/2000 10:21 PM
> 
> 
> My apologies for a basic question...
> 
> I'm attempting to run one of the samples that comes with 
> Xalan.  When I run
> "java SimpleTransform" from the SimpleTransform subdirectory, 
> I get the
> following error:
> 
> foo.xml; Line 0; Column 0
> XSL Error: Could not parse foo.xml document!
> XSL Error: SAX Exception
> Exception in thread "main" 
> org.apache.xalan.xslt.XSLProcessorException:
> File "foo.xml" not found.
>         at
> org.apache.xalan.xslt.XSLTEngineImpl.error(XSLTEngineImpl.java:1630)
>         at
> org.apache.xalan.xslt.XSLTEngineImpl.getSourceTreeFromInput(XS
> LTEngineImpl.
> java:852)
>         at
> org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.ja
> va, Compiled
> Code)
>         at SimpleTransform.main(SimpleTransform.java:81)
> 
> As indicated above, the processor is unable to find foo.xml.  
> Following is
> a listing of the subdirectory:
> 
> 08/21/2000  12:09p      <DIR>          .
> 08/21/2000  12:09p      <DIR>          ..
> 07/25/2000  06:33p                  40 foo.xml
> 07/25/2000  06:33p                 216 foo.xsl
> 07/25/2000  06:33p                 313 readme.html
> 07/25/2000  06:33p               3,729 SimpleTransform.java
> 08/21/2000  10:09p                 998 SimpleTransform.class
>                5 File(s)          5,296 bytes
>                2 Dir(s)      76,308,480 bytes free
> 
> As you can see, foo.xml is in the same directory in which I 
> run the "java
> SimpleTransform" command.
> 
> Any help would be very much appreciated.
> 
> Thank you.
> 
> P.S.  Please reply directly to me as I can't find a way to 
> subscribe to
> this mailing list.  I couldn't find any information on 
> apache.org regarding
> subscribing.
> 

Mime
View raw message