cancel
Showing results for 
Search instead for 
Did you mean: 

how to remove !DOCTYPE cXML SYSTEM from the mapping

Former Member
0 Kudos

Hi All,

I am working on cXML to IDoc scenario and want to know how to remove !DOCTYPE cXML SYSTEM from the xml because my mapping is throwing an error.

I have searched the solution for this problem but didn't quite find the correct solution.

Actual Message

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/1.2.014/cXML.dtd">

<cXML xml:lang="en" payloadID="44108.16188.52343.32310.1@ebs" timestamp="2012-04-26T14:32:23+10:00">

I have tried XSLT and JAVA Mapping but still no luck

XSLT

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

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="xml" indent="no"/>

<xsl:template match="/">

   <xsl:copy-of select="cXML" />

</xsl:template>

</xsl:stylesheet>

Error

Transformer exception occurred when executing XSLT IA_XSLT_removeDTD/removeDTD (urn:linde.com:xi:A_B2B_XX:CustomerIntegration, -1, 5aa31b80-0835-11dc-af43-f443ac120353)    

JAVA

I have got the code from SAP Note: 812966

Error

Application mapping program

DeleteDTDDeclarationWithDOM throws a stream transformation exception: Connection timed out

Can anybody please tell me how to solve this problem.

Thanks,

Iqbal

Accepted Solutions (0)

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

Similar kind of requirement answered many times.. search in SCN..

http://scn.sap.com/thread/124605