xml2
xml2 copied to clipboard
Bindings to libxml2
As the documentation of `xml_add_child` suggests, setting `.copy = FALSE` moves the element to its new location. However, it does not remove the node from its original location, leaving a...
I have an XML response from a Web Api query that returns a very large string text in one node. When I try to apply read_xml(response$content) I get a warning...
I have a huge XML file. Can't read it all in at once. ## Brief description of the problem This hangs: ```r x = read_xml("file.xml") l = as_list(x) ``` ##...
I have a function in a package I'm building that calls xml2::validate(). This works ok called from console. But inside devtools::test , it comes back with errors starting ``` Element...
Version 2.9.9 of libxml2.so changed uri.c:xmlBuildRelativePath() so that a test in the xml2 package (version 1.3.2) breaks: ``` url_relative("http://hadley.nz/a/c", "http://hadley.nz/") not equal to "../a/c". 1/1 mismatches x[1]: "a/c" y[1]: "../a/c"...
e.g. https://github.com/tidyverse/rvest/issues/237#issuecomment-748540557 It's easy enough to fix, but I wonder if we could do better on the xml2 side.