You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Steven Smith <ss...@neonsys.com> on 2000/08/22 05:21:13 UTC

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(XSLTEngineImpl.
java:852)
        at
org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java, 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.