Introduction

Table of Contents

What is PsychohPath? PsychoPath is a XPath 2.0 XML Schema Aware processor. It is nearly fully compliant to the XPath 2.0 test suite. It is a library that does not require eclipse to be used. Known adopters of PsychoPath include the Xerces-J project for XML Schemas 1.1 assertion support.

PsychoPath is the only known open-source java XPath 2.0 processor that is fully schema aware. SAXON HE only supports the core functionality. XML Schema awarness provides tighter static checking, and can be used to help determine if certain operations can or should occur on an XML node. For a detailed description of the PsychoPath's design please see the design document.

Getting PsychoPath

Currently there is no standalone build of PsychoPath. However, you can download the WTP WST 3.1 zip file, and use the org.eclipse.wst.xml.xpath2.processor.jar file. This jar has no dependencies on eclipse, and will work as a standard jar file. If you are using an OSGI container, then this is treated as a standard OSGI bundle.

PsychoPath 1.1M1

PsychoPath 1.1M1 is also available to download. 1.1M1 passes 96% of the XPath 2.0 test suite.

Additional dependencies you currently need are:

  • IBM ICU 4.0 or greater

  • Xerces 2.8.0 or greater

  • JavaCup 0.10 or greater.

If using eclipse, these are all available from the Orbit project. Others can find the necessary jars from their respective project pages.