This is a known bug and has been fixed in the current source code. Unfortunately, we've never officially supported Win98, as we never had a test machine available running the OS.

A workaround is to use redirection instead of the -o option:

    Xalan foo.xml foo.xsl > foo.out

You can get the latest source code from CVS and rebuild Xalan. Since the patch is compatible with the 1.3 code stream, you can also just patch your local sources and rebuild. Here's a link to the diffs:

Dave

"David Chaffey" <[EMAIL PROTECTED]>




          "David Chaffey" <[EMAIL PROTECTED]>

          07/20/2002 11:45 AM



To: <[email protected]>
cc: (bcc: David N Bertoni/Cambridge/IBM)
Subject: xalan-C++ command line utility

Hi,

I am trying to use Xalan-C++ command line utility as an alternative to MSXML and Saxon but am having problems getting it to run. It will not open and write the output file. I am using Windows 98 and Xalan v1.3. I have followed the notes for using the utility to the letter. My path has been set by adding an entry to the autoexec.bat, rebooting and double checking that the path is correct. I have checked I have all the necessary files in the right location.

I have tried running my own XSL scripts and the 'SimpleTransform' example from a DOS box. This returned:

C:\xml-xalan\c\samples\SimpleTransform>SimpleTransform
SimpleTransform Error:
Error writing file: foo.out. The error code was 6.

Error 6 is the same response in all cases but I cannot find out what that means. I have tried using a file monitor program and whereas I can see the xsl and xml files being opened and used there appears to be no OS call to open or write the output file.

It appears to be a silly problem but it has foxed me so far.

Thankfull for any assistance

Best Regards

David Chaffey
Systems Manager
Avery Berkel Ltd

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

<<inline: pic11538.gif>>

Reply via email to