santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raul Benito" <r...@apache.org>
Subject Re: Compile Error Fix
Date Mon, 02 Oct 2006 15:01:52 GMT
Thanks Vishal,
I will apply this patch ASAP.


On 10/2/06, Vishal Mahajan <vmahajan@amberpoint.com> wrote:
> I am compiling with 1.4. I think String.contains() was introduced only
> in 1.5.
>
> Vishal
>
> Raul Benito wrote:
> > Hi Vishal,
> > Nice to see you again. We need to take a look to your karma.
> > Regarding this problem are you compiling with 1.3?
> >
> > Regards,
> >
> > On 10/2/06, Vishal Mahajan <vmahajan@amberpoint.com> wrote:
> >> I don't seem to have the commit access in svn, and it has been long
> >> period of inactivity on the list for me. Anyways, attached is a small
> >> compile error fix in the project main branch.
> >>
> >> Vishal
> >>
> >>
> >>
> >> Index:
> >> org/apache/xml/security/transforms/implementations/TransformXPath.java
> >> ===================================================================
> >> ---
> >> org/apache/xml/security/transforms/implementations/TransformXPath.java
> >> (revision 451991)
> >> +++
> >> org/apache/xml/security/transforms/implementations/TransformXPath.java
> >> (working copy)
> >> @@ -120,7 +120,7 @@
> >>      private boolean needsCircunvent(String str) {
> >>         //return true;
> >>         //return false;
> >> -       return str.contains("namespace") || str.contains("name()");
> >> +       return (str.indexOf("namespace") != -1) ||
> >> (str.indexOf("name()") != -1);
> >>      }
> >>
> >>      static class XPathNodeFilter implements NodeFilter {
> >>
> >>
> >>
> >
> >
>
>
>


-- 
http://r-bg.com

Mime
View raw message