therockita Posted April 25, 2010 Share Posted April 25, 2010 I'm currently developing a web application that uses a native Xml database in the data layer.I'm using Xindice, but I'm sure that my case applies to any of the implementations of the xml:db (or xapi) specification (eXist, baseX, etc, etc).I'm using Jasperreports to generate some reports. My idea is to extract some content of the database (using XPath) and then transform the ResultSet object in a w3c dom document.Then I use this document object as the parameter of JRXmlDatasource. All this procedure is possible using the Xindice (or xml:db) API.Unfortunately this is not working and I don't really know whether this is a JasperReport bug or not. It seems that it totally dislike my w3c Doc coming from the XML native database.I have tried to manipulate this w3c dom document changing encoding, formatting... no results, blank page again.I'm temporarily bypassing the problem writing the document into the filesystem and then creating and parsing a new w3c document. That makes me think that there's a bug somewhere.Any comment would be appreciated. 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