Title: RE: [dom4j-user] [Q] How do I create an XPath with a NamespaceCon text?

Yes, I bound the function to the correct URI (specified in XPathFunctionContext.registerFunction()), and the prefix to the same URI for the NamespaceContext.  But I never get to the point where I can ever register the contexts.

As the expression won't even parse correctly I imagine there is something wrong further down.  (I haven't tried to debug the code to locate it, but it's somewhere beyond the org.jaxen.dom4j.XPath(String) constructor.)

Can somebody think of a workaround besides not using any namespace at all?

--
knut

> -----Original Message-----
> From: James Strachan [mailto:[EMAIL PROTECTED]]
> Sent: Dienstag, 20. August 2002 17:39
> To: Wannheden, Knut
> Cc: [EMAIL PROTECTED]
> Subject: Re: [dom4j-user] [Q] How do I create an XPath with a
> NamespaceCon text?
>
>
> From: "bob mcwhirter" <[EMAIL PROTECTED]>
> >
> > I think jaxen -may- have an issue with functions in a namespace.
> >
> > You've registered bar:baz() with a FunctionContext?
>
> And you'll need both your function bound to the URI and 'bar'
> prefix bound
> to the same URI, I would imagine.
>
>
> James
> -------
> http://james.weblogger.com/
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> dom4j-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dom4j-user
>

Reply via email to