Greetings Michael
> On 26 Oct 2025, at 20:08, Michael Lueck <[email protected]> wrote:
>
>
> So the Apache XALAN project has a different order of output on other
> platforms than it does running on Windows? If that is what you are saying, I
> call it most bazaar!
No, its xsltproc (a utility other than xalan) that has a different layout.
xalan on macOS or Linux should have the same output as on Windows (untested).
>
> I was thinking to inquire if Apache XALAN is now commonly found in other
> Linux distros than Ubuntu, and if it seemed common then would have offered to
> have a go at least for adding XALAN support when building on Linux. However,
> with your quick findings, seems it would be a worthless objective to attempt.
>
Test on WSL:
Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 4.4.0-26100-Microsoft aarch64)
~$ xalan
Command 'xalan' not found, but can be installed with:
sudo apt install xalan
After installation, touch these files to force the generation of the derived .h
and .xml files:
interpreter/messages/rexxmsg.xml
interpreter/behaviour/PrimitiveClasses.xml
Start the build and boom! doesn't work.
This xalan on WSL doesn't support the arguments that work on Windows...
I give up...
build output on WSL:
$ make install
[ 0%] Generating /local/rexx/oorexx/official/main/trunk/api/oorexxerrors.h
Warning: Ignoring unknown option "-o".
Warning: Ignoring unknown option
"/local/rexx/oorexx/official/main/trunk/api/oorexxerrors.h".
Warning: Ignoring unknown option "interpreter/messages/rexxmsg.xml".
Warning: Ignoring unknown option "interpreter/messages/ApiErrorCodes.xsl".
Reading input document from stdin...
^Cmake[2]: *** [CMakeFiles/message_headers.dir/build.make:86:
/local/rexx/oorexx/official/main/trunk/api/oorexxerrors.h] Interrupt
make[1]: *** [CMakeFiles/Makefile2:507: CMakeFiles/message_headers.dir/all]
Interrupt
make: *** [Makefile:156: all] Interrupt
xalan on WSL:
$ man xalan
NAME
xalan - Process XML documents with XSLT stylesheets
SYNOPSIS
xalan [options]
OPTIONS
Options are case-sensitive.
-in URL
Sets the input URL. If nothing is set, stdin is used.
-xsl URL
Sets the XSLT sheet URL.
-out file
Sets the output filename.
-v Show version information only.
...
$ xalan -v
Xalan version 1.12.0
Xerces version 3.2.3
xalan on Windows:
> xalan --help
Xalan version 1.11.0.
Xerces version 3.1.1.
Usage: Xalan [options] source stylesheet
Options:
-a Use xml-stylesheet PI, not the 'stylesheet' argument
-e encoding Force the specified encoding for the output.
-i integer Indent the specified amount.
-m Omit the META tag in HTML output.
-o filename Write output to the specified file.
-p name expression Sets a stylesheet parameter.
-t Display timing information.
-u Disable escaping of URLs in HTML output.
-? Display this message.
-v Validates source documents.
- A dash as the 'source' argument reads from stdin.
('-' cannot be used for both arguments.)
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel