Hello Mukul,

Thank you for doing this work.

I checked out the branch xalan-j_xslt3.0_mvn today and:

- 1: OK: mvn clean install -DskipTests
- 2: Fails: Using Java 8, mvn test

[ERROR] Failures:
[ERROR] 
org.apache.xalan.tests.xpath3.XPathMathTrignometricAndExponentialFunctionTests.xslTrignometricAndExponentialFunctionTest1(org.apache.xalan.tests.xpath3.XPathMathTrignometricAndExponentialFunctionTests)
[ERROR]   Run 1:
XPathMathTrignometricAndExponentialFunctionTests.xslTrignometricAndExponentialFunctionTest1:60->XSLTransformTestsUtil.runXslTransformAndAssertOutput:158
expected:<...xp>2.718281828459045[]</exp>
  <exp>7.3890...> but was:<...xp>2.718281828459045[5]</exp>
  <exp>7.3890...>
[ERROR]   Run 2:
XPathMathTrignometricAndExponentialFunctionTests.xslTrignometricAndExponentialFunctionTest1:60->XSLTransformTestsUtil.runXslTransformAndAssertOutput:158
expected:<...xp>2.718281828459045[]</exp>
  <exp>7.3890...> but was:<...xp>2.718281828459045[5]</exp>
  <exp>7.3890...>
[ERROR]   Run 3:
XPathMathTrignometricAndExponentialFunctionTests.xslTrignometricAndExponentialFunctionTest1:60->XSLTransformTestsUtil.runXslTransformAndAssertOutput:158
expected:<...xp>2.718281828459045[]</exp>
  <exp>7.3890...> but was:<...xp>2.718281828459045[5]</exp>
  <exp>7.3890...>
[INFO]
[ERROR] 
org.apache.xalan.tests.xpath3.XPathMathTrignometricAndExponentialFunctionTests.xslTrignometricAndExponentialFunctionTest4(org.apache.xalan.tests.xpath3.XPathMathTrignometricAndExponentialFunctionTests)
[ERROR]   Run 1:
XPathMathTrignometricAndExponentialFunctionTests.xslTrignometricAndExponentialFunctionTest4:90->XSLTransformTestsUtil.runXslTransformAndAssertOutput:158
expected:<...1">2.718281828459045[]</exp>
  <sin inp="1...> but was:<...1">2.718281828459045[5]</exp>
  <sin inp="1...>
[ERROR]   Run 2:
XPathMathTrignometricAndExponentialFunctionTests.xslTrignometricAndExponentialFunctionTest4:90->XSLTransformTestsUtil.runXslTransformAndAssertOutput:158
expected:<...1">2.718281828459045[]</exp>
  <sin inp="1...> but was:<...1">2.718281828459045[5]</exp>
  <sin inp="1...>
[ERROR]   Run 3:
XPathMathTrignometricAndExponentialFunctionTests.xslTrignometricAndExponentialFunctionTest4:90->XSLTransformTestsUtil.runXslTransformAndAssertOutput:158
expected:<...1">2.718281828459045[]</exp>
  <sin inp="1...> but was:<...1">2.718281828459045[5]</exp>
  <sin inp="1...>
[INFO]
[INFO]
[ERROR] Tests run: 2603, Failures: 2, Errors: 0, Skipped: 0

Using Java 17:

[ERROR] Failures:
[ERROR] 
org.apache.xalan.tests.xpath3.XPathIfExprTests.xslIfExprTest9(org.apache.xalan.tests.xpath3.XPathIfExprTests)
[ERROR]   Run 1:
XPathIfExprTests.xslIfExprTest9:137->XSLTransformTestsUtil.runXslTransformAndAssertOutput:158
expected:<...0">0.866025403784438[7]</math:sin>
  <math:...> but was:<...0">0.866025403784438[8]</math:sin>
  <math:...>
[ERROR]   Run 2:
XPathIfExprTests.xslIfExprTest9:137->XSLTransformTestsUtil.runXslTransformAndAssertOutput:158
expected:<...0">0.866025403784438[7]</math:sin>
  <math:...> but was:<...0">0.866025403784438[8]</math:sin>
  <math:...>
[ERROR]   Run 3:
XPathIfExprTests.xslIfExprTest9:137->XSLTransformTestsUtil.runXslTransformAndAssertOutput:158
expected:<...0">0.866025403784438[7]</math:sin>
  <math:...> but was:<...0">0.866025403784438[8]</math:sin>
  <math:...>
[INFO]
[ERROR] 
org.apache.xalan.tests.xpath3.XPathLetExprTests.xslLetExprTest8(org.apache.xalan.tests.xpath3.XPathLetExprTests)
[ERROR]   Run 1:
XPathLetExprTests.xslLetExprTest8:127->XSLTransformTestsUtil.runXslTransformAndAssertOutput:158
expected:<...0">0.866025403784438[7]</math:sin>
  <math:...> but was:<...0">0.866025403784438[8]</math:sin>
  <math:...>
[ERROR]   Run 2:
XPathLetExprTests.xslLetExprTest8:127->XSLTransformTestsUtil.runXslTransformAndAssertOutput:158
expected:<...0">0.866025403784438[7]</math:sin>
  <math:...> but was:<...0">0.866025403784438[8]</math:sin>
  <math:...>
[ERROR]   Run 3:
XPathLetExprTests.xslLetExprTest8:127->XSLTransformTestsUtil.runXslTransformAndAssertOutput:158
expected:<...0">0.866025403784438[7]</math:sin>
  <math:...> but was:<...0">0.866025403784438[8]</math:sin>
  <math:...>
[INFO]
[ERROR] 
org.apache.xalan.tests.xpath3.XPathMathTrignometricAndExponentialFunctionTests.xslTrignometricAndExponentialFunctionTest1(org.apache.xalan.tests.xpath3.XPathMathTrignometricAndExponentialFunctionTests)
[ERROR]   Run 1:
XPathMathTrignometricAndExponentialFunctionTests.xslTrignometricAndExponentialFunctionTest1:60->XSLTransformTestsUtil.runXslTransformAndAssertOutput:158
expected:<...xp>2.718281828459045[]</exp>
  <exp>7.3890...> but was:<...xp>2.718281828459045[5]</exp>
  <exp>7.3890...>
[ERROR]   Run 2:
XPathMathTrignometricAndExponentialFunctionTests.xslTrignometricAndExponentialFunctionTest1:60->XSLTransformTestsUtil.runXslTransformAndAssertOutput:158
expected:<...xp>2.718281828459045[]</exp>
  <exp>7.3890...> but was:<...xp>2.718281828459045[5]</exp>
  <exp>7.3890...>
[ERROR]   Run 3:
XPathMathTrignometricAndExponentialFunctionTests.xslTrignometricAndExponentialFunctionTest1:60->XSLTransformTestsUtil.runXslTransformAndAssertOutput:158
expected:<...xp>2.718281828459045[]</exp>
  <exp>7.3890...> but was:<...xp>2.718281828459045[5]</exp>
  <exp>7.3890...>
[INFO]
[ERROR] 
org.apache.xalan.tests.xpath3.XPathMathTrignometricAndExponentialFunctionTests.xslTrignometricAndExponentialFunctionTest4(org.apache.xalan.tests.xpath3.XPathMathTrignometricAndExponentialFunctionTests)
[ERROR]   Run 1:
XPathMathTrignometricAndExponentialFunctionTests.xslTrignometricAndExponentialFunctionTest4:90->XSLTransformTestsUtil.runXslTransformAndAssertOutput:158
expected:<...1">2.718281828459045[]</exp>
  <sin inp="1...> but was:<...1">2.718281828459045[5]</exp>
  <sin inp="1...>
[ERROR]   Run 2:
XPathMathTrignometricAndExponentialFunctionTests.xslTrignometricAndExponentialFunctionTest4:90->XSLTransformTestsUtil.runXslTransformAndAssertOutput:158
expected:<...1">2.718281828459045[]</exp>
  <sin inp="1...> but was:<...1">2.718281828459045[5]</exp>
  <sin inp="1...>
[ERROR]   Run 3:
XPathMathTrignometricAndExponentialFunctionTests.xslTrignometricAndExponentialFunctionTest4:90->XSLTransformTestsUtil.runXslTransformAndAssertOutput:158
expected:<...1">2.718281828459045[]</exp>
  <sin inp="1...> but was:<...1">2.718281828459045[5]</exp>
  <sin inp="1...>
[INFO]
[INFO]
[ERROR] Tests run: 2599, Failures: 4, Errors: 0, Skipped: 0

Are these tests supposed to pass or is this a work in progress?

Gary

On Sat, Nov 30, 2024 at 11:20 AM Mukul Gandhi <gandhi.mu...@gmail.com> wrote:
>
> Hi all,
>     Just to share the developments with members of this list, related
> to jira issue XALANJ-2790 (implement repos branch for migrating XSL 3
> ant build to maven), I can confirm that Xalan-J's dev repos branch
> xalan-j_xslt3.0_mvn (that I've created today) now has a successfully
> configured Maven build.
>
> I've successfully verified today that all the Xalan-J XSL 3 tests
> available on link
> https://github.com/apache/xalan-java/tree/xalan-j_xslt3.0/tests,
> successfully pass with the jar file xalan-3.0.1-SNAPSHOT.jar produced
> by Xalan-J's XSL 3 Maven build.
>
> Many thanks.
>
>
> --
> Regards,
> Mukul Gandhi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@xalan.apache.org
> For additional commands, e-mail: dev-h...@xalan.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@xalan.apache.org
For additional commands, e-mail: dev-h...@xalan.apache.org

Reply via email to