KB Article #193660

XML Parser results in the error "XML_RD_ReadInput failed"

Problem

Processing files through a map that requires an XML input and the following errors appear in the Integrator/data/trace/8 logs:


ERROR :20260421:16.04.47.18:B2Bi PE HME 3 Task 11(pe - B2Bi HME 3 Task(map-loader.so)):[XML - 0]: XML_RD_ReadInput failed
ERROR :20260421:16.04.47.18:B2Bi PE HME 3 Task 11(pe - B2Bi HME 3 Task(map-loader.so)):[XML - 0]: 49 53 41 2a
ERROR :20260421:16.04.47.18:B2Bi PE HME 3 Task 11(pe - B2Bi HME 3 Task(map-loader.so)):[XML - 0]: XML parser failed to determine the encoding of the input document



Resolution

Non-XML files were processed through this map or the XML file is corrupted and missing begin tags or end tags. Verify that the correct Metadata Profile was matched and that the input files are in fact XML.


The second error line containing "49 53 41 2a" is a log entry of the HEX values that the parser read. In this error, those HEX values converted to ASCII translate to "I S A *" which shows that an EDI file was incorrect processed into an XML map.