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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Sigbert Klinke
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

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.