I have been thinking about XML schema validation in julia for a little while now. I just had an idea that I would like some feedback on:
Is it possible to take a CLI tool (I am thinking of the rust-based GitHub - FranklinChen/validate-xml-rust: Validate XML files against their referenced XML Schemas concurrently and fast · GitHub), get the binaries built using binary-builder and yggdrasil, and then in a sensible manner use the run function along with capturing of output streams to implement this as a Julia package?
Now I know that it would in all likelyhood be easier to wrap an existing python package, but I would rather depend on a small binary than e.g. PythonCall. Also, the rust package seemed more performant and well implemented than any of the python tools I have seen.
So comments on my concrete case of how to implement XML schema validation in julia are welcome, but I also also interested in thought on the concept of wrapping a CLI tool into a julia package.