Hello,
I get this using the --postvalid option of xmllint with a valid XML
file:
$ xmllint --noout --valid article.xml
$ xmllint --noout --postvalid article.xml
article.xml:11: element xref: validity error :
IDREF attribute linkend references an unknown ID "test"
Document article.xml does not validate
The ID exists in another file (section.xml), that is inbound via entity.
The samples are attached. Bug or not a bug? A limitation of postvalid?
Regards, Daniel
Attachment:
article.xml
Description: application/docbook
Attachment:
section.xml
Description: application/xml