Re: Compile Error Fix

2006-10-03 Thread Berin Lautenbach

Hi Vishal!

Do you still have login access to people.apache.org?  You are defintely 
in the authorisation file for svn, so if you log in to people.apache.org 
you should be able to change your subversion password as per:


https://svn.apache.org/change-password

If that doesn't work, let me know and I will reset.

Cheers,
Berin


Vishal Mahajan 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 {


Re: Compile Error Fix

2006-10-03 Thread Raul Benito

Done thanks for the patch.

Regarding your svn karma, can you still login to people.apache.org?

On 10/2/06, Raul Benito <[EMAIL PROTECTED]> wrote:

Thanks Vishal,
I will apply this patch ASAP.


On 10/2/06, Vishal Mahajan <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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




--
http://r-bg.com