The source of the XML files is a GetFile Processor or a GenrateFlowFile Processor.
I have also tested it with an InvokeHTTP processor where it works fine. However this does not solve it for me as I am dealing with physical XML files here. However this little detail might be interesting for the error finding process.