On 27.10.2025 12:06, Jean Louis Faucher wrote:
Thanks Marc!
On 27 Oct 2025, at 11:03, Marc Remes <[email protected]> wrote:
On Fedora 42:
$ Xalan -?
Xalan version 1.12.0.
Xerces version 3.3.0.
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.)
Note the uppercase X..
Indeed there are 2 binaries...
On WSL:
~$ which xalan; which Xalan
/usr/bin/xalan
/usr/bin/Xalan
Changes applied to CMakeLists.txt, using Xalan with capital X:
Current:
if (WIN32)
# find a xalan executable, but only on windows for now.
FIND_PROGRAM(XALAN_EXECUTABLE xalan
DOC "xalan command line xslt converter")
endif()
New:
FIND_PROGRAM(XALAN_EXECUTABLE Xalan
DOC "Xalan command line xslt converter")
message(STATUS "XALAN_EXECUTABLE is ${XALAN_EXECUTABLE}")
No other change needed.
With this modification,
the files generated on WSL are identical to the files generated on Windows.
the build is ok on WSL
still work on Windows.
Tested on Windows, created a RFE <https://sourceforge.net/p/oorexx/feature-requests/861/> and
committed the change with [r13043].
Thanks to everybody, kudos to Jean Louis!
---rony
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel