I think I've made that fixes, to be honest.  They may not
be in an official beta release, but let's check CVS before
we delve too much further.

        -bob

On Thu, 20 Sep 2001, James Strachan wrote:

> Maybe the following will fix it...
> 
> ----- Original Message -----
> From: "Frank Sauer" <[EMAIL PROTECTED]>
> To: "'bob mcwhirter'" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, September 19, 2001 11:08 PM
> Subject: [Jaxen] RE: text() not working? (was RE: [jdom-interest] XPath?)
> 
> 
> > FYI:
> >
> > I traced the problem to be related to name spaces:
> > If I disable namespace matching as follows:
> >
> >     public DefaultNameStep(IterableAxis axis,
> >                            String prefix,
> >                            String localName)
> >     {
> >         super( axis );
> >
> >         this.prefix    = prefix;
> >         this.localName = localName;
> >         this.matchesAnyName = "*".equals( localName );
> >         //this.matchesAnyNamespace = matchesAnyName || prefix.equals(
> "*" );
> >
> > >>>        this.matchesAnyNamespace = true;
> 
>             this.matchesAnyNamespace = matchesAnyName || (prefix == null ||
> prefix.length() == 0 )
> 
> 
> It might be a side effect where the XPath expression *:foo is no longer
> supported (after studying the spec closer) that now "*" is never passed in
> as a then namespace match?
> 
> James
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> _______________________________________________
> Jaxen-interest mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jaxen-interest
> 


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

Reply via email to