Re: xalan-j xpath 3.1 tests progress

Mukul Gandhi <[email protected]> Fri, 29 May 2026 16:41:08 +0530
Newsgroups gmane.text.xml.xalan.devel
Message-ID <CABuuzNOqvkiy3P0HN8n_vtPrDtjP2i_eYmdAaQDBch18Sohspw@mail.gmail.com>
Hi Joseph,

On Fri, May 29, 2026 at 11:50=E2=80=AFAM Joseph Kesselman via dev
<[email protected]> wrote:
>
> For xalan-test, we separated tests into several buckets and provided ways=
 to invoke all tests (to measure conformance), only tests we knew we should=
  pass (to detect regression relative the previous tests), tests we failed =
that we felt we should be passing (bug reports not yet resolved or features=
 not yet implemented), tests that we failed but had accepted as explicit di=
vergences from the Recommendation, and a few other subsets (language tests,=
  api tests, Xalan-specific feature tests, extension tests...)
>

I think, that this is a very good classification of Xalan-J test types.

> If you haven't already done so, you might want to follow a similar patter=
n. For most builds regression testing is most important, but full conforman=
ce testing is a good thing to be able to report.

I agree. We should try to follow this pattern more closely.

Presently, Xalan-J XSL3 test set results (and, also the overall tests
summary report), have mention of tests status as pass, fail and
skipped numbers. The failed tests indicate that Xalan-J is able to run
these tests but Xalan-J result is different than the expected result
(which indicates the non conformance with the XSL specs).

The skipped tests indicate that, Xalan-J implementation is unable to
handle running these tests (various times, due to occurrence of inf
loops within code). These Xalan-J results are also non conformance
with the spec. There are skipped tests, that also indicate Xalan-J
doesn't intend to implement a specific feature like streaming, XSLT
2.0 only tests, XPath 1.0 back-ward compatibility tests.

>
> Do I understand correctly that you haven't implemented schema-aware/typed=
 processing? The Xylem processor did manage to shoehorn schema types into D=
TM via extensions to the node type field/table, but replacing DTM Iterators=
 with XCI cursors is what exposed that information for processing.

XSLT 3.0 schema-aware processing has been implemented. Currently, that
requires Xalan-J XSLT 3.0 implementation to start running with flavor
as d2d (i.e, an XML DOM source for an XSL transformation).
xsl:import-schema instruction also works, which according to XSLT 3.0
spec is one of the feature that needs to be implemented to say that an
XSLT 3.0 processor is schema-aware. Xalan-J XPath 3.1 most of the
XPath binary operators (esp, when using XML nodes within XPath
expressions) are able to use types provided by an XML Schema.


Many thanks.



--=20
Regards,
Mukul Gandhi