Hi Gary,
    Thanks for review comments, for Xalan-J XSLT 3.0 RC4.

IMHO, I get all Xalan-J XSLT 3.0 alpha1 tests passing on Windows host,
on my local.

But I'm very keen to help try to solve these issues, that you're
getting on your workstation.

To start with, I'd request you to please, provide me specific
information about one of the XSL test, i.e
FnCollectionTests->xslFnCollectionTest1 that you've run, so that I
shall be able to fix the defect wrt this issue correctly.

Following are the steps that I request you to please do, and provide
little information wrt this,

>From within the folder
xalan-j_xslt3.0_mvn\src\test\resources\fn_collection please copy the
files test1.xsl and all .xml, .json and .txt documents to a specific
folder. I've copied all these file on my local at location,
d:\xslt\debug for debugging this issue.

I then run the following command from within Eclipse development IDE,
on my local,

java org.apache.xalan.xslt.Process -in d:\xslt\test1.xsl -xsl
d:\xslt\test1.xsl -param base-dir file:/d:/xslt/debug/ -out
d:\xslt\debug\test1.out  [1]

I request you to please run the command [1], and some how share with
me (perhaps as file attachment within a jira issue) the XSL
transformation result document test1.out without changing anything
within that, so that I may inspect XSL transformation result document
and try to provide a fix for this XSL test case defect.


Wrt the Apache Xerces-J issue that you've mentioned, I agree with you
that, we should use a valid released Xerces-J jar while trying to
release Xalan-J version.

I've actually added the jar file xercesImpl-2.12.3_alpha.jar, within
Xalan-J's XSLT 3.0 development repos, for development purposes. If you
may and others agree, for Xalan-J's XSLT 3.0 alpha1 release, we may
rename this Xerces-J jar to xercesImpl-2.12.3_dev.jar and might little
later add Xerces-J release proper jar file.

On Sun, Mar 8, 2026 at 7:10 PM Gary Gregory <[email protected]> wrote:
> Thank you for clearing that up.
>
> I see two issues holding us back:
>
> mvn clean install test -Dtest=AllXalanXSLT3Tests
>
> Gives me:
>
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running org.apache.xalan.tests.main.AllXalanXSLT3Tests
> [ERROR] Tests run: 1405, Failures: 3, Errors: 0, Skipped: 0, Time
> elapsed: 3.331 s <<< FAILURE! - in
> org.apache.xalan.tests.main.AllXalanXSLT3Tests
> [ERROR] 
> xslValueComparison7(org.apache.xalan.tests.xpath3.XPathValueComparisonTests)
>  Time elapsed: 0.007 s  <<< FAILURE!
> junit.framework.AssertionFailedError
> at 
> org.apache.xalan.tests.xpath3.XPathValueComparisonTests.xslValueComparison7(XPathValueComparisonTests.java:120)
>
> [ERROR] xslFnCollectionTest1(org.apache.xalan.tests.xpath3.FnCollectionTests)
>  Time elapsed: 0.004 s  <<< FAILURE!
> junit.framework.AssertionFailedError
> at 
> org.apache.xalan.tests.xpath3.FnCollectionTests.xslFnCollectionTest1(FnCollectionTests.java:59)
>
> [ERROR] xslFnCollectionTest2(org.apache.xalan.tests.xpath3.FnCollectionTests)
>  Time elapsed: 0.002 s  <<< FAILURE!
> junit.framework.AssertionFailedError
> at 
> org.apache.xalan.tests.xpath3.FnCollectionTests.xslFnCollectionTest2(FnCollectionTests.java:69)
>
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR]   
> FnCollectionTests.xslFnCollectionTest1:59->XslTransformTestsUtil.runXslTransformAndAssertOutput:223
> [ERROR]   
> FnCollectionTests.xslFnCollectionTest2:69->XslTransformTestsUtil.runXslTransformAndAssertOutput:223
> [ERROR]   
> XPathValueComparisonTests.xslValueComparison7:120->XslTransformTestsUtil.runXslTransformAndAssertOutput:223
> [INFO]
> [ERROR] Tests run: 1405, Failures: 3, Errors: 0, Skipped: 0
>
> Using:
>
> Apache Maven 3.9.13 (39d686bd50d8e054301e3a68ad44781df6f80dda)
> Maven home: /opt/homebrew/Cellar/maven/3.9.13/libexec
> Java version: 21.0.10, vendor: Homebrew, runtime:
> /opt/homebrew/Cellar/openjdk@21/21.0.10/libexec/openjdk.jdk/Contents/Home
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "26.3.1", arch: "aarch64", family: "mac"
>
> The more important issue is that the source zip contains a bunch of
> JAR files, including a mystery unreleased private copy of Xerces:
>
> libs/org/apache/xerces/xercesImpl/2.12.3_alpha/xercesImpl-2.12.3_alpha.jar
>
> Ideally, a source zip should contain no JARs. That's what Maven
> dependencies are for.
>
> There is no Xerces 2.12.3_alpha release, and there isn't even a tag in
> the Xerces repository for such a release. In fact, the Xerces-J
> repository on git was not properly migrated from Subversion in the
> first place, since it contains zero tags:
> 'git tag' returns nothing :(
>
> It looks like we need to work on Xerces first IMO.
>
> Thank you for your patience.
> Gary


-- 
Regards,
Mukul Gandhi

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to