> Perhaps adding a getDocumentID() method to resource would be a solution. > For resources that are documents getID() and getDocumentID() return the > same thing. For resources that are the result of a query getID() returns > null and getDocumentID() returns the ID for the containing document or > null if there is no containing document.
I like this idea very much. But it leaves the question somewhat open if all implementations can deliver the IDs in the same way. And the semantics of getID() and getDocumentID() will have to be defined very well not to allow too much space for interpretation. Jeremias M�rki mailto:[EMAIL PROTECTED] OUTLINE AG Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029 Internet http://www.outline.ch ---------------------------------------------------------------------- Post a message: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] Contact administrator: mailto:[EMAIL PROTECTED] Read archived messages: http://archive.xmldb.org/ ----------------------------------------------------------------------
