krug-ela commented on issue #5921: URL: https://github.com/apache/hop/issues/5921#issuecomment-5328904436
If my file contains invalid xml (e.g. "<outer><outer>") I get the following log and my error is not catched: 2026/08/18 15:27:18 [Error] Get data from XML.0 - Could not open file #1 : file:///C:/hop/projects/testarea/test.xml --> org.apache.hop.core.exception.HopException: 2026/08/18 15:27:18 [Error] Get data from XML.0 - org.dom4j.DocumentException: Error on line 1 of document : XML document structures must start and end within the same entity. 2026/08/18 15:27:18 [Error] Get data from XML.0 - Error on line 1 of document : XML document structures must start and end within the same entity. 2026/08/18 15:27:18 [Basic] Get data from XML.0 - Finished processing (I=0, O=0, R=0, W=0, U=0, E=1) 2026/08/18 15:27:18 [Minimal] xmlinput - Pipeline detected one or more transforms with errors. 2026/08/18 15:27:18 [Minimal] xmlinput - Pipeline is killing the other transforms! Putting the same XML in a field or the file name in a field works as expected -> error is catched -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
