[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


Hi,

using the XML package reading an XML file

library("XML")
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

-- 
http://u.hu-berlin.de/sk



More information about the R-help mailing list