[cddlm] Doubt about "Resolve" operation on System

Stuart Schaefer Sschaefer at softricity.com
Wed Aug 10 17:11:00 CDT 2005


Ayla,

This is not correct.  If a node is defined by a qname, then specifying
the namespace is the only way to get the proper return value.

So, if the path contains a prefix, how do you "know" that its prefix
corresponds to the namespace of the node you are looking for?

Stuart

-----Original Message-----
From: Ayla Debora Dantas de Souza - Projeto Ourgrid
[mailto:ayla at dsc.ufcg.edu.br] 
Sent: Wednesday, August 10, 2005 3:13 PM
To: 'cddlm-wg at ggf.org'
Subject: [cddlm] Doubt about "Resolve" operation on System

Hello all,

we are implementing the "Resolve" operation from the System and we had 
the following doubts:
1. What should happen if in the "path" we specify a prefix, but in the 
CDL being queried that prefix is not defined?
As far as we know, XPath does not support queries using namespaces, only

prefixes. Considering this, the prefix used must be defined on the XML 
being queried. Are we right?

2. What must happen when the "path" passed for the "Resolve" does not 
present a prefix?
We think that in this case, a response representing an emply result 
should be returned to the user. Ok?

Thanks,

Ourgrid team.






More information about the cddlm-wg mailing list