Open jonassmedegaard opened 2 weeks ago
@jonassmedegaard Hey! rio is not used by Oxigraph anymore. Do you still need to package it in Debian? if yes, I am happy to update its dependencies.
I am working on packaging Atomic Server, Sophia, Manas, all still using rio_* crates, as far as I am aware (but that said, I had missed that Oxigraph had moved away from those crates - thanks for bringing it to my attention, I've corrected that just now - sp I migh be mistaken about some of the others as well.
So if not too much trouble, I would indeed appreciate your modernizing the rdf_xml crate - and while at it, it you consider them deprecated then perhaps make that explicit by mentioning it at the top of the README.md fine (and whatever cargo tagging might be relevant as well).
Done v0.8.5
I plan to maintain the rio crates for a year after the first stable release of oxttl
and oxrdfxml
Rio has been used quite a lot in the wild, I do not expect many bug reports at this point.
This project uses crate quick-xml v0.28. The quick-xml project has seen a slew of bugfixes, and oxigraph has also shifted to using a newer release v0.36 in its newest release v0.4.0-alpha8.
(less of a concern for you, perhaps, but for me in packaging for Debian there is also an issue of wanting to limit the amount of concurrent versions of each project)
I am not strong at coding rust, but have tried to provide a patch:
With the patch applied, the build succeeds but one test fails:
running 1 test test simple_roundtrip ... FAILED
failures:
---- simple_roundtrip stdout ---- Error: RdfXmlError { kind: Xml(EscapeError(UnrecognizedEntity(4..8, "quot"))) }
failures: simple_roundtrip
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s