SAP Knowledge Base Article - Preview

2790975 - Invalid xpath response using DTD CXML

Symptom

You see the error below using xpath in CPI:

org.apache.camel.builder.xml.InvalidXPathExpression: Invalid xpath: //<path>@text. Reason: javax.xml.xpath.XPathExpressionException: Failure converting a node of class javax.xml.transform.sax.SAXSource: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 129; External DTD: Failed to read external DTD 'cXML.dtd', because 'http' access is not allowed due to restriction set by the accessExternalDTD property., cause: javax.xml.xpath.XPathExpressionException: Failure converting a node of class javax.xml.transform.sax.SAXSource: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 129; External DTD: Failed to read external DTD 'cXML.dtd', because 'http' access is not allowed due to restriction set by the accessExternalDTD property.


Read more...

Environment

SAP Cloud Platform Integration for process services

Product

SAP Cloud Platform 1.0

Keywords

SAP HANA Cloud Integration, SAP HCI, SAP CPI, SCPI, tenant, IFlow, Integration Flow, deployment, HCI tooling, xpath, dtd, xsd, mapping, java, 8, xml, invalid, cxml, schema , KBA , LOD-HCI-PI-RT , Integration Runtime , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.