Open 1stone opened 6 years ago
Hi there,
Have a read of catalog files. Your configuration shows a catalog called acme.dtd which is almost certainly not a catalog file. A catalog is a defined standard which provides a way for the plugin to map where a local copy of a remote schema or dtd can be found.
Out of interest, do you get an error message with the configuration shown above? Would you be able to post it in a comment - we try to clean up awkward error messages.
Cheers Ross
I'm trying to validate a bunch of XML files, organized in a multi-directory filesystem structure, against a DTD.
From what I understand from #46 and #47 that should still be possible with 1.0.2 if a DOCTYPE decl is present on the XML files. So, given this definition in the XML files
I would like to validate against that
acme.dtd
which is located in the root of thevalidationSet
directory. But unfortunately, the validation fails withWhile parsing /.../vroot/path/to/this.xml: /.../vroot/path/to/acme.dtd (No such file or directory)
, withvroot
being the directory in thevalidationSet
and whereacme.dtd
is located.I tried to "register" the DTD file via a catalog setting, but to no avail. Is there any way to configure the plugin in a way, that all XML files with DOCTYPE acme will be validated against the DTD file in the
vroot
?This is the current plugin config for reference: