klas.klassen Posted March 16, 2015 Share Posted March 16, 2015 For an old Jasper version the question has already been asked. But for version 6.0.3 does Jasper Reports finally supports XPath 2.0? Link to comment Share on other sites More sharing options...
Solution Massimo Rabbi Posted March 17, 2015 Solution Share Posted March 17, 2015 Hi,I talked with JR Team in order to better clarify the topic. So currently the version supported is XPath version 1.0.This because JR relies on Xalan or Jaxen for XPath support. These thirdy-part libraries currently support version 1.0.Looking at the Jaxen FAQ it seems to be a "strict" decision they made, focusing only on compatibility support: http://jaxen.codehaus.org/faq.htmlWhich version of XPath does jaxen support? Does jaxen support XPath 2? jaxen supports XPath 1.0. It does not support XPath 2.0. XPath 2.0 is a very different spec with many things to recommend it and a few things not to like as well. However XPath 2.0 is not compatible with XPath 1.0. It is far from a simple upgrade from XPath 1.0. It has a very different data model, that might well require significant revisions to jaxen's internal data structures, and possibly a very different API as well. The current release plan focuses exclusively on XPath 1.0 compatibility. Perhaps one day someone will make a branch or fork of jaxen that supports XPath 2. However, this would be a significant undertaking, and so far little interest in this has been shown.Therefore for the moment we will stay with version 1.0 of XPath.Regards,Massimo. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now