views:

2619

answers:

4

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?

A: 

I couldn't find one either. I ended up using the oracle xml libs.

Kyle Dyer
Thanks, I'll be looking into this.
sapporo
+1  A: 

Search or ask this question at the xsl-list. Michael Kay might answer himself.

dacracot
Thanks, I might give that a try at some point.
sapporo
dacracot
+1  A: 

Are you sure you really need a namespace 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..).

stian
Well, I work with namespaces a lot when implementing web services, and cannot pretend they wouldn't exist..I know about Saxon-SA and Saxon-B, but was wondering if there really is no open source alternative. Especially since XSLT 2.0 isn't exactly brand new..
sapporo
Sad, but true that I haven't yet found one. And the Oracle I've used (proprietary) is not good either. Hope somebody comes thru
Overflown
+1  A: 

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.

sapporo