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

I'm the developer of apsimx (https://cran.r-project.org/package=apsimx) package. I have a function which retrieves data from a service https://worldmodel.csiro.au/. I'm heavily using the xml2 package to read and parse the data....

Dear all, i'm in the process to migrate from XML to xml2 a series of packages i'm maintaining. Although for some dealing with single namespace, the task is relatively easy...

Fix #411 I also added full stops to error messages. I enhanced the `parse_options()` message to use `{.val`, so it now uses `"` instead of `'`. I added a `error_call`...

Use `rlang::is_installed()`. `expect_length()`, `expect_named()`, `expect_true()` in tests

* how to deal with `memcpy()`? * is the performance hit of the string handling relevant? * `xml2_node.cpp` can be tackled after #400 is merged.

This gives the (failing) test for #376. The error occurs near https://github.com/r-lib/xml2/blob/ab2078976c9ab57116c7c9175632e7d19d45273f/R/xml_parse.R#L109 But, the actual error is within the C code of the function `doc_parse_raw`, and I don't know how...

Thanks for your work on `xml2`! Consider the following reprex where I have an xml document with multiple nodes of the same element (`item`): ``` r a [1] "foo" ##...