Greetings Marc / Jean Louis,
Marc Remes wrote:
Note the uppercase X..
Excellent catch there!
https://packages.ubuntu.com/noble/amd64/xalan/filelist
File list of package xalan in noble of architecture amd64
/usr/bin/Xalan
/usr/bin/xalan
/usr/share/doc/xalan/NOTICE
/usr/share/doc/xalan/changelog.Debian.gz
/usr/share/doc/xalan/copyright
/usr/share/man/man1/Xalan.1.gz
/usr/share/man/man1/xalan.1.gz
And BOTH appear to come from the single "xalan" package!
Jean Louis Faucher wrote:
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.
Bravo! Thank you both very much!
--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/
Marc Remes 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..
Marc
On 26/10/2025 22:45, Michael Lueck wrote:
Greetings Jean Louis,
Jean Louis Faucher wrote:
xalan on macOS or Linux should have the same output as on Windows (untested).
Start the build and boom! doesn't work.
This xalan on WSL doesn't support the arguments that work on Windows...
I give up...
*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.)
This difference I will investigate.... see if a like solution may be found for
other platforms that follows the established Windows command switches to XALAN.
I am thankful,
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel