xml catalog relative path resolution

Hi, can anybody say what the resolution algorithm is for resolving relative paths given in XML catalogues? Or point me to a place that explains this? All the examples I have found use absolute paths but I want to be able to check the XML catalogue into a repository which also contains the DTD files, so people can check out the whole thing and only need to register the XML catalogue in their local preferences. Cheers, Alex -- Alexander Voss, Research Associate School of Informatics, University of Edinburgh 1 Buccleuch Place, Edinburgh EH8 9LW Office +44 131 650 4412 Lab +44 131 650 8288 NTRAC +44 131 537 3363 Skype alexander.voss Email avoss@inf.ed.ac.uk Homepage http://homepages.inf.ed.ac.uk/avoss

Hello, <oXygen/> accepts OASIS XML catalogs configured in Preferences as you can read in the "Working with XML Catalogs" section available in the Table of Contents of the User Manual (chapter "Editing documents", section "Editing XML documents"): http://www.oxygenxml.com/doc/ug-standalone/using-XML-Catalogs.html Also this section is the first match of a help search if you enter "xml catalog" in the search field (go to menu Help -> Help, the Search tab). If you follow the link attached to the "OASIS XML catalogs" string in the first paragraph of this section you open the OASIS specification of XML catalogs which specifies for elements like public, system, rewriteSystem, etc. that a relative path must be made absolute with respect to the base URI in effect, that is the URI of the catalog file or the URI set by the xml:base attribute of the catalog elements. Regards, Sorin Alexander Voss wrote:
Hi,
can anybody say what the resolution algorithm is for resolving relative paths given in XML catalogues? Or point me to a place that explains this? All the examples I have found use absolute paths but I want to be able to check the XML catalogue into a repository which also contains the DTD files, so people can check out the whole thing and only need to register the XML catalogue in their local preferences.
Cheers,
Alex
participants (2)
-
Alexander Voss
-
Sorin Ristache