> Ok, so XPathQueryService would look like this now. Comments?
>
> interface XPathQueryService : base::Service {
> const string serviceName = "XPathQueryService";
> const string version = "1.0";
>
> void setNamespace( in string prefix, in string uri ) raises
> (base::XMLDBException);
> base::ResourceSet query( in string query) raises
> (base::XMLDBException);
> };
Ok, but I think maybe a "resetNamespaces()" is necessary. It's possible
(though unlikely) that the same prefix is used for different URIs and
the user wants to have control over what's really registered. Or should
the Service reset all Namespaces each time it is acquired? If yes, how
is it notified?
For setNamespace() it is necessary to document what happens when a
prefix is reregistered (replace or Exception).
Jeremias M�rki
mailto:[EMAIL PROTECTED]
Freundliche Gr�sse
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/
----------------------------------------------------------------------