clandestino Posted March 8, 2011 Share Posted March 8, 2011 I got an error when trying to publish reports when datasource is xml with namespaces. For example: <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 More sharing options...
mvw Posted March 9, 2011 Share Posted March 9, 2011 Hi,Check this: "0004500: Need a way to use namespaces in XPath queries"http://jasperforge.org/plugins/mantis/view.php?id=4500Regards Link to comment Share on other sites More sharing options...
clandestino Posted March 9, 2011 Author Share Posted March 9, 2011 Thanx, but I've already seen this and it didn't worked for me. I registered all namespaces in japserreports.properties, but it returns sax parsers error again. 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