[standards-jig] NEW: Packet Filtering (JEPs 0062, 0063, 0064)

Iain Shigeoka iain.shigeoka at messaginglogic.com
Thu Dec 19 19:12:34 UTC 2002

On 12/18/02 7:41, "Fabrice Desré" <fabrice.desre at francetelecom.com> wrote:

> 3) What is the evaluation context for the expressions ? The examples
> implies that the real root of the jabber stream is not considered, and
> that each packet is a document on his own. Am I right ?

I think so.

> This leads again to some namespace issues, since namespaces declared on
> the <stream:stream/> element will no more be available. I'd rather
> evaluate the expression against a document formed by the real root and
> the current packet.

>From a lazy programmer standpoint, I can see why treating the sub-docs as
the entire doc for xpath searches is nice. But for proper namespace support
you're probably right. This will become especially important as people start
exploiting prefixes in the root tag to 'compress' their jabber packets.


More information about the Standards mailing list