[R] Misleading error message: XML content does not seem to be XML

Sigbert Klinke sigbert at wiwi.hu-berlin.de
Tue Jan 31 08:54:11 CET 2017


using the XML package reading an XML file

doc  <- xmlParse(file='abc.xml')

I got the above error message. The problem was that the file was located 
at a different directory. So the file was not found rather than 
containing invalid XML.

Best Sigbert


More information about the R-help mailing list