Jump to content

Problems with Xindice w3c.org.dom.Document...


therockita

Recommended Posts

 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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...