
Hi, thanks for the clarification. I read your message as saying that oXygen complies with the specification. However, as I see it this leaves an important question open: in the absence of an explicitly defined base URL, what is taken to be the base? The location of the XML catalogue or the current working directory? oXygen seems to use the latter whereas other tools seem to use the former. (e.g., Ant, see http://ant.apache.org/manual/CoreTypes/xmlcatalog.html although this page does not say anything about the xml:base attribute???) If the specification does not define what base URI is used in the absence of an xml:base attribute then it is incomplete. I should either define a sensible default (such as the XML catalogue location) or declare this illegal (i.e. you must not have a relative URI if you don't specify a base URI). IMHO the former would be much more useful. I hope I haven't missed anything. If I am right about this is it not time to change the spec? Cheers, Alex oxygen-user-request@oxygenxml.com wrote:
Send oXygen-user mailing list submissions to oxygen-user@oxygenxml.com
To subscribe or unsubscribe via the World Wide Web, visit http://www.oxygenxml.com/mailman/listinfo/oxygen-user or, via email, send a message with subject or body 'help' to oxygen-user-request@oxygenxml.com
You can reach the person managing the list at oxygen-user-owner@oxygenxml.com
When replying, please edit your Subject line so it is more specific than "Re: Contents of oXygen-user digest..."
Today's Topics:
1. xml catalog relative path resolution (Alexander Voss) 2. Re: xml catalog relative path resolution (Sorin Ristache)
----------------------------------------------------------------------
Message: 1 Date: Wed, 09 Aug 2006 12:18:36 +0100 From: Alexander Voss <avoss@inf.ed.ac.uk> Subject: [oXygen-user] xml catalog relative path resolution To: oxygen-user@oxygenxml.com Message-ID: <44D9C48C.8050000@inf.ed.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
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