xml2 icon indicating copy to clipboard operation
xml2 copied to clipboard

Bindings to libxml2

Results 81 xml2 issues
Sort by recently updated
recently updated
newest added

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...

bug

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) ``` ##...

For when you want to modify a copy of an xml (sub)tree.

feature

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...

reprex

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"...

bug

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.

feature