Skip to content
Prev 366881 / 398502 Next

Misleading error message: XML content does not seem to be XML

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