Page 1 of 1

Use XML Catalog Files within Delta XML PlugIn

Posted: Thu Jul 28, 2016 10:52 am
by fsteimke
Hi,

we are using the Delta XML "DocBook Compare" Produkt from Oxygen with the DeltaXML Add-On.

Today i tried to compare two files which make use of external entities. These are included with virtual URLs, which are resolved by the xml catalog file, declared at the project level. The files are valid only if validation is done whitin the project. Otherwise there is a fatal error because the entity file can not be found and i have plenty of undeclared entitiies.

After successfull validation i tried to compare the two files, but this fails because of the entity file which coud not be found. I guess that the Delte XML product knows nothing about the catalog file, which is indeed known to oxygen.

Feature Request is: Delta XML Product shall use the catalog resolver mechanism of oxygen when called from the oxygen Add-On.

Sincerely,
Frank Steimke

P. S. Workaround: Use the Oxygen Tool to generate two canonical representations for both files and compare them with delta xml.

Re: Use XML Catalog Files within Delta XML PlugIn

Posted: Thu Jul 28, 2016 10:58 am
by Radu
Dear Frank,

Oxygen has API which would allow a plugin to use Oxygen's catalog resolver so what you want is feasible. I'm not sure if Delta XML has an alternative way of setting up a catalog.
I will try to get somebody from Delta XML to reply to this thread as we do not control the plugin's development.

Regards,
Radu

Re: Use XML Catalog Files within Delta XML PlugIn

Posted: Thu Jul 28, 2016 6:57 pm
by tristanm
Hi Frank,

Thanks for your post. Our current Add-On does include functionality to make use of the oXygen catalog configuration when parsing inputs for comparison. I use this on a regular basis myself for locating DTD and Schema files and it works reliably. However, the fact that you are using catalogs for resolving external entities may be the issue here.
I will contact you directly via email to continue the discussion.

Best regards,
Tristan