Error Launching XML Reader

I have some significant experience with Knime.  However I just installed it on a new employers machine.  Everrything has been working fiine for a month and still is.  But when I try to execute the XML READER node, I get this error:

ERROR XML Reader 2:1 Execute failed: C:\Program Files\KNIME\records.dtd (The system cannot find the file specified)

I assume this is a simple configuration error but I don't know what its trying to tell me.  Any help would be appreciated.

1 Like

This is very likely an issue with the XML file you are reading. It references a DTD file (records.dtd) with a relative path that gets resolved to C:\Program Files\KNIME\records.dtd (because this is the current working directory). Without the DTD the file cannot be parsed. You first need to fix the XML file either by removing the DTD reference altogether (it's usually not needed for parsing except if it defines entities or you want to check the document structure) or by specifying an absolute path.

1 Like