Some trivial enhancements

Better expressed as:

if command -v xmllint > /dev/null && [ -f utils/relaxng.xml ]

You can drop the >&2.