-
Notifications
You must be signed in to change notification settings - Fork 8
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
Evaluate migration from XML to xml2 #59
Comments
That's not right: XML is maintained but by CRAN team and not anymore by the original author. Given the number of dependencies historically using XML, I doubt XML will be no longer maintained in time. XML is used for various reasons, starting with the fact the packages I build (including ows4R and related such as geometa) needed XML at that time where xml2 was very limited. I had performed already some assessment in time whether it would be beneficial to move to xml2, and so far the answer is no. Writing complex XML (like with ISO/OGC schemas) is not an easy task in R and XML fulfills all needs. In addition, assuming that we could move to xml2, refactoring would have a significant cost ensuring everything is working as it is currently with {XML}. The question to move to xml2 might come back on the table in case CRAN team decides to kill {XML} package some day, which I doubt seriously. If they decide not to maintain it anymore and make it an orphaned, I will probably candidate to take over its maintenance. |
PS: I will open a gitter or a github discussion soon for ows4R, to move all discussions aspects there, so we keep tickets for bug/enhancements :-) |
Thank you!! |
@eblondel for info, you might find that thread interesting: RConsortium/r-repositories-wg#26 |
Thanks @maelle for this Probably I will start doing this XML-->xml2 assessment, and transition test with other simpler models like those managed in atom4R, geosapi or geonapi. |
Btw, i reopen this issue, let's keep it open, until I start tackling it. |
Yes xml2 can write files. Regarding schema validation, I've never done that but I see https://xml2.r-lib.org/reference/xml_validate.html Thank you and good luck with the assessment/transition! |
The migration from XML to xml2 is ongoing as cross-cutting activity between several packages. For now it has been applied on rather simple XML implementations (Done with geosapi in its latest release) and is analyzed in others with increasing XML schemas complexity, starting with [atom4R)(https://github.com/eblondel/atom4R). Progressively I hope to be able to tackle geometa and ows4R |
Thank you for this work! |
Just curious why {XML} is used rather than {xml2}? {XML} is no longer maintained.
The text was updated successfully, but these errors were encountered: