Namespace context for XPaths in XProc

Hi,
I have a little problem regarding XPaths according to the XProc spec.
According to the XPath spec, the namespace context for an XPath expression is part of the static context.
However, it seems to me that according to the XProc spec, there is a need to have the namespace context as part of the dynamic context, in the case p:namespaces is used in conjunction with the @element attribute.
What are your thoughts and opinions on this?
How would you handle this case in an implementation so that the static context does not have to be recalculated upon every invoke of the pipeline?
Thanks
Mio




=== reklama ======================================

http://mail.szm.com - e-mail a priestor na www stranku zadarmo

http://webhosting.szm.com - domény a webhosting za najnižšie ceny

Received on Friday, 28 September 2012 10:56:40 UTC