XML Reader failure

Hi all,

I'm having trouble trying to reading a couple of XML files by using the "XML Reader"-node. I could have sworn that this wasn't the case a few weeks ago and that I had the same KNIME and extension version.

 

The concole message says:
Execute failed: http://www.editeur.org/onix/2.1/03/reference/onix-international.dtd

 

The structure of the XML-file looks like this:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE ONIXMessage SYSTEM "http://www.editeur.org/onix/2.1/03/reference/onix-international.dtd">
<ONIXMessage>
 <Blabla>
 </Blabla>
</ONIXMessage>

 

The XML Reader must read all external entities such as the DTD in your case. If this resource isn't available (just open the address in a browser) then parsing the XML document will fail.

Hi Thor,

Thank you for your reply. Is there a way to fix this? Or perhaps a work around?

Much appreciated!

There is no real fix or workaround. If an external DTD is specified in the document it may contain required information for the parser, such as entity declarations. If the DTD only contains the structural definition and not entities, then you may be able to remove the DOCTYPE declaration before parsing the file.