On Tue, 18 Sep 2001, Erwin Bolwidt wrote:

> Hi,
> 
> At the moment, VariableContext and FunctionContext look up variables and
> functions using a prefix and local name. NamespaceContext looks up the uri
> for a prefix.
> 
> I think it would make more sense to have the variable and function
> contexts look things up by their namespace uri. The lookup method could
> also pass the prefix, but normally an xml application should ignore the
> prefix and use the uri.
> 
> Of course, variable/function contexts can currently use a namespace
> context to resolve the prefix, but this introduces extra work and an extra
> possibility for bugs in the case that they use a different namespace
> context than the rest of the xpath expression.

Yah, I thought about that once I added support for variables to
the test-harness.

Definitely something that needs hacking.  

        -bob


_______________________________________________
Jaxen-interest mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jaxen-interest

Reply via email to