I got the below dumperror message.
the read XML document hasa invalied format.
the XML format did not have the specif format.it could not be interepted properly.
the XML format was determined to be invalied for one of the following reasons.
1) the basic structure of the document was incorrect; for example the root tag must be <body>
2) there are start tagsin place where they are not expected;for exampl;e an integer is about to be read
3) reading special data types requires the specification of the correct version number.
4) properties are missing or too many properties exist.
BELOW IS THE XML FILE I AM READING.
<?xml version ="1.0" encoding = "UTF-8"?>
-<cXML payloadid ='email@example.com" xml:lang = "en-us"
timestamp = "2007-03-20T10:52:55+08:00">
<status code = "500" text = "error"/>
<document reference payloadid = "po300000787319032007115631"/>
i use the below code to read the file.
open dataset l_file_name for input in binary mode.
readdataset i_file_name into gs_srclin.
append gs_srclin to gt_srctab.
close dataset l_file_name.
CALL TRANSFORMATION (gc_string)
source XML gt_srctab
the dump goes when it pass to the CALL TRANSFORMATION .
i dont know why and what reason it goes to dump,so pls check whether the problem is in the code or in the xml fieand helpto solve this issue.