xmllint mis-handling SYSTEM ID?
I noticed that xmllint (2.9.4) has an issue if the file to check (test.xml
) has a path, and the file uses a "SYSTEM" ID for DOCTYPE:
<!DOCTYPE foo SYSTEM "foo.dtd">
I have an XML catalog resolving "foo.dtd", but when called with /tmp/test.xml
, xmllint tried to resolve /tmp/foo.dtd
in the catalog file which does not work.
When called without a path however, catalog resolving works.