Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: target namespace and namespaces

From: Jeff Rafter <lists@----------.--->
To: Michael Kay <mike@--------.--->
Date: 12/3/2004 5:26:00 AM
> Presumably they realize that this is going to make it very difficult to
> reuse XSLT and XQuery code to handle the shared components? There's some
> support for it in 2.0 through the *:local-name construct, but it's a bit
> kludgey.

Yep. But a lot of the reasoning behind the decision is the working group 
process at the design level. Ultimately it comes back to versioning-- 
and the assumption is that versioning needs to be done through the 
namespace. In addition, uniformity of structure cannot be achieved so it 
is assumed that each divergent structure with a duplicate name needs to 
be in a different namespace.

I am not sure either of those assumptions are true; but certainly they 
are easier. Luckily, there is very little overlap in the real world-- 
meaning you don't typically see any two <BORROWER> elements in the same 
document (most of the XSLT will be used to carry one set of concepts 
from a transactional instance to some in-house representation, or from 
one instance to another instance for coordination).

 > There's some support for it in 2.0 through the *:local-name
 > construct, but it's a bit kludgey.

Can't this kludge be approximated through the (even more kludgey) kludge of:

*[local-name()="foo"]

Cheers,
Jeff Rafter

From nobody@w... Fri Dec 03 21:36:47 2004
Receive


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent