On Tue, 23 Oct 2001, [iso-8859-1] Jérôme Nègre wrote:

> It looks like the way namespaces are managed has been changed. In beta 6,
> the expression "ipo:purchaseOrder/@orderDate" with <xform:instance> as the
> context node did find a result. In beta 7, the very same expression returns
> null.

Ayup, beta-6 was actually non-conformant to the XPath spec, whereas
beta-7 is.

> Is this behaviour expected ? If so, what should I change in my xpath/xml to
> make it work ?

You need to setup a NamespaceContext, and make it available to your
XPath object, so it knows what 'ipo' means in the xpath context.

        -bob


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

Reply via email to