2007 May 25 5:58 PM
Hi all,
we are facing some errors in parsing the XML file, but the XML file is correct.
I am explaining the scenario below..
First the XML file will be putted into the application server, as it is coming from Middle ware. We are reading the XML file from the application server using "open datasets" and parsing using cl_ixml IXML parser. We are getting error in some cases that <b>Error in wbw_parameters.xml File: In line: 1, Reason unexpected symbol; expected '<', '</', entity refe. Please correct and try again.
</b>
But If I am giving more spaces in the last line of the XML file and uploading to the application server. I am not getting these errors, as it not possible to give more spaces all the time to the XML file and is also not advicable.
Did any one face this kind of situation. The main thing I notice here is when we are writing the XML file into the application server a '#' also getting added in each line. Does this "#' is making the error while parsing..
Please provide your valuable solutions and is also urgent..
Thanks,
Vijay
Hi all,
we are facing some errors in parsing the XML file, but the XML file is correct.
I am explaining the scenario below..
First the XML file will be putted into the application server, as it is coming from Middle ware. We are reading the XML file from the application server using "open datasets" and parsing using cl_ixml IXML parser. We are getting error in some cases that <b>Error in wbw_parameters.xml File: In line: 1, Reason unexpected symbol; expected '<', '</', entity refe. Please correct and try again.
</b>
But If I am giving more spaces in the last line of the XML file and uploading to the application server. I am not getting these errors, as it not possible to give more spaces all the time to the XML file and is also not advicable.
Did any one face this kind of situation. The main thing I notice here is when we are writing the XML file into the application server a '#' also getting added in each line. Does this "#' is making the error while parsing..
Please provide your valuable solutions and is also urgent..
Thanks,
Vijay
2007 May 25 6:01 PM
will come if there are any tab spaces in the file..
delete the tab spaces from the file..
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |