Surely if there are 10 definitions for a given prefix and 10 prefix definitions 
for a given namespace and they are all different then that woul be a problem 
wouldnt it.

Not really. For an xpath you could use each of them. The point for me is to 
have the chance to have all namespaces with prefixes that could be needed by an 
xpath for the given document (or branch). And in most cases you have only the 
ones from your document and this will be better as for example use all 
namespaces from the namespace cache wich means the namespaces from all 
documents that where created since the vm start (and this will result in many 
problems with doubled prefixes).

>From a functional perspective you may be right, but does the XPATh operation 
>run against the namespace or the prefix. I though that the prefix was what was 
>required in XPAth 2. I know thatthe declaration was against the prefix, but 
>the operatio run against the namespace. I amy be mistaken it is a while since 
>I looked at it.


assuming that you can cope with overlaps, are you proposing to try each 
combination and see think ones work. That could be a lot of options

x:n1/x:n2/x:n3/x:n4 would take 10000 options if x has 10 mapping would it not.

Regards
Mike Skells
Chief Solutions Architect
ValidSoft Ltd
F: +44 (0) 20 7033 1965
M: +44 (0) 7740 520 717
[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
<http://www.validsoft.com/>www.validsoft.com<http://www.validsoft.com/>
ValidSoft Ltd is a Private Limited Company.
Registered Address:Castle Buildings, Tara Street, Tullamore, Co. Offaly, 
Ireland.
Registration Number: 377068 Registered in Dublin.
The information in this e-mail is confidential and may be legally privileged. 
It is intended solely for the addressee(s).  Access to this e-mail by anyone 
else is unauthorised. If you are not the intended recipient, any disclosure, 
copying, distribution or any action taken or omitted to be taken in reliance on 
it, is prohibited and may be unlawful. When addressed to our clients any 
opinions or advice contained in this e-mail are subject to the terms and 
conditions expressed in the governing ValidSoft client terms and conditions.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
dom4j-dev mailing list
dom4j-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-dev

Reply via email to