mike2tango Posted October 30, 2013 Share Posted October 30, 2013 HelloWant to use ireport.jrproperty.net.sf.jasperreports.xpath.executer.factory=net.sf.jasperreports.engine.util.xml.JaxenXPathExecuterFactorySo I go to iReport.Extras.Options.Jasperreports Properties, search for the entry above and change it toireport.jrproperty.net.sf.jasperreports.xpath.executer.factory=net.sf.jasperreports.engine.util.xml.XalanXPathExecuterFactoryWell the value is always restored back to the Jaxen version. Why?( Funny is when I set the value "blabla", it is taken and stored and viewed when opened again, but not with a XalanXpathExecuterFactory ) (My ultimate goal is use iReport with both XML Datasource and XPath to be namespace aware, user narcism is explaining in post #7 (here) that the above default, Jaxen version, is not namespace aware)Tnx in advance.(using iReport 5.5.0) Link to comment Share on other sites More sharing options...
Solution mike2tango Posted November 5, 2013 Author Solution Share Posted November 5, 2013 Hello Well, I finally have completely deinstalled the Netbeans Version of iReport (5.5.0) and it's saved settings too.Then I installed the windows version of JasperSoft Studio, the eclipse based equivallent.Now create a Data Adapter, enable the checkbox, "Enable namespace support" to true, test it.Then in the Dataset and Query Dialog select the above created Data Adapter again. take the xPath selector, you should then see your namespaced aware XML tree showing up. You can now create Fields with namespaced xPath expressions.New is that the Data Preview is now working too. The reason that it works in the Eclipse Based Version is that the xPath and XML Properties are properly set (even by default), where the Netbeans Version is not, therefore I wanted to change those properties above, which landed in the problem by doing so.Hopefully usefull for everyoneBest RegardsMMike Link to comment Share on other sites More sharing options...
mike2tango Posted November 5, 2013 Author Share Posted November 5, 2013 I couldn't give myself points ;-) Link to comment Share on other sites More sharing options...
djohnson53 Posted November 8, 2013 Share Posted November 8, 2013 I gave you some. ;-} 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