Open-source java XSLT 2.0 implementation?

I'm currently looking into using XSLT 2.0, but I cannot find any open-source java implementations (Saxon-B seems to fit the bill, but isn't schema-aware).

Am I missing something?

Answers


The only one is Saxon-HE:

Saxon-HE

The W3C hosts an online version of it for testing:

W3C Jigsaw XSLT 2.0 Service

There's also an App Engine project which uses it:

XSLT App Engine Test Harness

Other than that, there's an incomplete Xerces extension which implements XPath 2.0:

Xerces XPath 2.0 Extension

An Eclipse extension which implements XPath 2.0:

WTP XPath2.0 Processor

An incomplete Xalan-J branch which partially implements XSLT 2.0:

Some prototype work for XSLT 2.0 support in the Xalan-J Interpretive processor went on in 2003, but then trailed off. That prototype work is still available on the xslt20 branch http://svn.apache.org/repos/asf/xalan/java/branches/xslt20/, but since then nobdy has stepped forward to carry on that initial prototyping, and the Xalan PMC hasn't put in place any plans for XSLT 2.0 support.

As well as a server-side implementation of Saxon-CE which can run on Nashorn/Avatar.js:

xslty

References


Yes, I'm answering my own question from 2.5 years ago:

I haven't tried it yet, but I just stumbled upon Eclipse PsychoPath, which is (according to the docs) a XPath 2.0 XML Schema Aware processor that passes 96% of the XPath 2.0 test suite (version 1.1M1).


For the archive, there's also AltovaXML, the free-as-in-beer, schema-aware XSLT 2.0 engine used in XMLSpy etc.

Unfortunately, like XMLSpy, it's Windows only.


Are you sure you really need a schema aware processor? It might help find errors in the stylesheets quicker but the cost might outweigh the benefit (both in terms of money, and license-wise).

Saxon-SA is the schema-aware version of Saxon B. It includes the open source Saxon B in full (published under the Mozilla Public License). It's only the "schema-aware" stuff which is closed source, so most of it is still free software (though only as in free speech..).


Need Your Help

MongoDB two same records

node.js mongodb

I'm doing a project which is backed by Nodejs and MongoDB. I am quite new to MongoDB and I am lacking a clue why I quite often(almost always) get two same records in collections when I do posts. Th...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.