Jump to content

xml namespace not working in IREPORT 4.0.1


tonynys

Recommended Posts

I got the report working  in jasperreports 4.01 outside ireport , just from java commandline, using this as a guidance

 

http://jasperforge.org/projects/jasperreports/tracker/view.php?id=4500

 

 

However, In IReport 4.0.1 If I set these properties

net.sf.jasperreports.query.executer.factory.xPath=net.sf.jasperreports.engine.query.JaxenXPathQueryExecuterFactory
net.sf.jasperreports.query.executer.factory.XPath=net.sf.jasperreports.engine.query.JaxenXPathQueryExecuterFactory

net.sf.jasperreports.xml.detect.namespaces=true

It doesn't work,, it fails with documentbuilder param not present

@narcism: any ideas ?

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

<?xml version="1.0" encoding="UTF-8"?>

<n:Northwind xmlns:n="http://www.integrationarchitects.be/ns/Northwind/root" xmlns:c="http://www.integrationarchitects.be/ns/Northwind/customer">

 

<c:Customers>

<c:CustomerID>ALFKI</c:CustomerID>

<c:CompanyName>Alfredooooo Futterkiste</c:CompanyName>

<c:ContactName>Maria Anders</c:ContactName>

<c:ContactTitle>Sales Representative</c:ContactTitle>

<c:Address>Obere Str. 57</c:Address>

<c:City>Berlin</c:City>

<c:PostalCode>12209</c:PostalCode>

<c:Country>Germany</c:Country>

<c:Phone>030-0074321</c:Phone>

<c:Fax>030-0076545</c:Fax>

 

<o:Orders xmlns:o="http://www.integrationarchitects.be/ns/Northwind/order">

<o:OrderID>10954</o:OrderID>

<o:CustomerID>LINOD</o:CustomerID>

<o:EmployeeID>5</o:EmployeeID>

<o:OrderDate>1998-03-17</o:OrderDate>

<o:RequiredDate>1998-04-28</o:RequiredDate>

<o:ShippedDate>1998-03-20</o:ShippedDate>

<o:ShipVia>1</o:ShipVia>

<o:Freight>27.91</o:Freight>

<o:ShipName>LINO-Delicateses</o:ShipName>

<o:ShipAddress>Ave. 5 de Mayo Porlamar</o:ShipAddress>

<o:ShipCity>I. de Margarita</o:ShipCity>

<o:ShipRegion>Nueva Esparta</o:ShipRegion>

<o:ShipPostalCode>4980</o:ShipPostalCode>

<o:ShipCountry>Venezuela</o:ShipCountry>

</o:Orders>

Link to comment
Share on other sites

I am having the same problem with:

 

<rdf:RDF>

<rdf:Description rdf:about="http://saleserver:8080/geoportal/csw?Request=GetCapabilities&Service=CSW&Version=2.0.2">

<dc:title>

      ArcGIS Server Geoportal Extension 10 - OGC CSW 2.0.2 ISO AP
   
</dc:title>

<dc:description>

      A catalogue service that conforms to the HTTP protocol binding of the OpenGIS Catalogue Service ISO Metadata Application Profile specification (version 2.0.2)
   
</dc:description>
<dc:format>text/xml</dc:format>
<dc:format>application/xml</dc:format>
<dc:contributor>provider name</dc:contributor>

<dc:identifier>
http://saleserver:8080/geoportal/csw?Request=GetCapabilities&Service=CSW&Version=2.0.2
</dc:identifier>
<dc:type>CSW</dc:type>
<dc:creator>name</dc:creator>
<dc:subject>CSW</dc:subject>
<dc:subject>keyword1</dc:subject>
<dc:subject>keyword2</dc:subject>

<dct:references>
http://saleserver:8080/geoportal/csw?Request=GetCapabilities&Service=CSW&Version=2.0.2
</dct:references>
<dct:references>http://saleserver:8080/geoportal/csw</dct:references>
<dct:references>http://saleserver:8080/geoportal/csw</dct:references>
</rdf:Description>
</rdf:RDF>

Link to comment
Share on other sites

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...