I am using pentaho kettle tool for ETL job. In the job, one of the step(Get XML Data) is not able to read/parse xml file sometime. Sometime same XML file didn't throw any exception and sometime it threw. The list of errors are as given below -
- 1) Error on line 1 of document file:///D:/softwares/pdi-ce-6.0.1.0-386/data-integration/UTF-8 : The element type "Confidence" must be terminated by the matching end-tag "".
- 2) org.dom4j.DocumentException: Error on line -1 of document : Premature end of file. Nested exception: Premature end of file.
However, i don't find any issue in xml file. Could anyone help on this topic?