I wondered about that as well a while back.
The manpage specifies the exit statuses below. The document is well-formed
and shouldn't fail to parse because the namespace-prefix separating ':' was
always allowed as part of a tag name iirc.
There's no schema, so it's not a schema validation issue.
Th
Hello,
I'm using xmllint to validate files automatically during CI runs, and
now an error was not catched.
The xml file used a namespace prefix that was not defined. xmllint
noticed that, but still gave an exit code of 0:
$ xmllint --noout text.xml; echo $?
text.xml:66: namespace error :