Greetings Jean Louis,
I appreciate you having a go at making the XALAN step cross-platform.
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!
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.
The last I tried to set up an Ubuntu (Xubuntu) build environment, running ooRexx from the resulting .deb package would not run the regression tests cleanly. At that point I gave up trying to produce
.deb packages for other LTS releases of Ubuntu than what the team was producing.
I am thankful,
--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/
Jean Louis Faucher wrote:
On 26 Oct 2025, at 10:08, Rick McGuire <[email protected]> wrote:
If the lack of a cross platform solution to this bothers anybody, then they are
invited to put the time in to fix that.
For testing, I added support for xsltproc.
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()
Tested:
FIND_PROGRAM(XSLT_PROCESSOR NAMES xalan xsltproc)
message(STATUS "XSLT_PROCESSOR is ${XSLT_PROCESSOR}")
plus other changes that I won't detail, because of the different order of the
arguments.
xalan-c is available on platforms other than Windows but I haven't tested it
because it's not available with Brew.
It's available with MacPorts, which I don't use.
The output of xsltproc for .h files is identical to the output of xalan (svn
does not report any difference).
But the output for .xml files is different (same tags, different layout).
I did not test if that would impact the documentation (should not).
Because of this difference, I don't think it's worth continuing.
(Tests on macOS)
*xalan-c:*
<section id="errorlist">
<title>Error List</title>
<section id="ERR3">
<title>Error 3 - Failure during initialization.</title>
<para>
<emphasis role="bold">Explanation:</emphasis>
</para>
<para>The REXX program could not be read from the disk.</para>
<para>The associated subcodes are: </para>
<variablelist>
<varlistentry>
<term>001</term>
<listitem>
<para>Failure during initialization: File "<emphasis
role="italic">filename</emphasis>" is unreadable.</para>
</listitem>
</varlistentry>
...
*xsltproc:*
<section id="errorlist"><title>Error List</title>
<section id="ERR3"><title>Error 3 - Failure during initialization.</title>
<para><emphasis role="bold">Explanation:</emphasis></para>
<para>The REXX program could not be read from the disk.</para>
<para>The associated subcodes are: </para>
<variablelist>
<varlistentry><term>001</term><listitem><para>Failure during initialization: File "<emphasis
role="italic">filename</emphasis>" is unreadable.</para></listitem></varlistentry>
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel