Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] W3C XPath 2.0 Test Suite for PsychoPath 1.0

This is mainly a note for those adopters using or planning to use the PsychoPath XPath 2.0 processor that is part of eclipse WTP 3.1. We have had some community interest in making the PsychoPath processor complaint to the W3C Test Suite. This test suite has passed Eclipse IP review. It is included in the org.eclipse.wst.xml.xpath2.processor.tests plugin. I've recently attached a patch that will help in the creation of the necessary Junit 3 files. This is based of some initial work done by Jin Mingjan as Junit 4 tests.

Due to the issue with eclipse during headless builds in running a mixture of Junit 3 and 4 tests, I have created up some junit 3 equivalents. This refactoring includes those changes as well as some of Jin's original contribution. There is an XSLT 1.0 script that can be used to generate the appropriate tests. It needs as input the Test Group name to use.

Note that there is a problem with the XPath 2.0 indicator attribute on the XQTSXMLCatalog.xml file, as some tests are incorrectly flagged as being XPath 2.0 tests. There is a open bug for this with the W3C.

Please feel free to check these changes out and help run the test creation script to help generate the rest of the tests. As patches are submitted for PsychoPath, I'll be using the Test Suite as well as the tests that come with the patch to verify implementation.

The work can be tracked on


Back to the top