The problem is that I am trying to validate an xml file using xmllint. On my machine (OSX 10f.7.5) it says the xml is invalid. When a co-worker tries it on his machine, it says it is valid. I am not sure what version of OSX he is running but I do know that my version of xmllint is
$ xmllint --version
xmllint: using libxml version 20703
and his version is
$ xmllint --version
xmllint: using libxml version 20708
So the question is how do I build that version (or the latest version) on my machine?
It seems that the xmlstarlet package contains xmllint, so this should do the trick:
brew install xmlstarlet
I'm not sure how you would get a specific version though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With