r-lib / xml2

Bindings to libxml2
https://xml2.r-lib.org/
Other
220 stars 82 forks source link

xml2 locks the XML file if the file has XML syntax error #382

Closed jmendys closed 1 year ago

jmendys commented 1 year ago

Steps to reproduce

  1. Create an XML file with an invalid structure for example <?xml version="1.0" encoding="UTF-8"?>
  2. Open the file with xml2::read_xml() command

Expected behavior:

Actual behavior:

hadley commented 1 year ago

I think this is likely an interaction between libxml2 and windows that unfortunately there's nothing we can do about.

hadley commented 1 year ago

Actually this looks like #376