New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All modifying functions should ignore empty/missing inputs #134

hadley opened this Issue Oct 18, 2016 · 0 comments


None yet
1 participant

hadley commented Oct 18, 2016

x <- read_xml("<a><b/></a>")
xml_remove(xml_find_all(x, ".//c"))

Also need to handle missing nodes, and all attribute settors etc.

@hadley hadley changed the title from xml_remove should ignore empty inputs to All modifying functions should ignore empty/missing inputs Oct 25, 2016

jimhester added a commit that referenced this issue Dec 9, 2016

Add missing methods for xml_missing objects
Addresses part of #134, still need to account for zero length nodesets.

@jimhester jimhester closed this in 98ee82c Dec 9, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment