You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by Vishal Mahajan <vm...@amberpoint.com> on 2006/10/02 15:04:07 UTC
Compile Error Fix
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
Re: Compile Error Fix
Posted by Berin Lautenbach <be...@wingsofhermes.org>.
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
Posted by Raul Benito <ra...@apache.org>.
Done thanks for the patch.
Regarding your svn karma, can you still login to people.apache.org?
On 10/2/06, Raul Benito <ra...@apache.org> wrote:
> Thanks Vishal,
> I will apply this patch ASAP.
>
>
> On 10/2/06, Vishal Mahajan <vm...@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 <vm...@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
>
--
http://r-bg.com
Re: Compile Error Fix
Posted by Raul Benito <ra...@apache.org>.
Thanks Vishal,
I will apply this patch ASAP.
On 10/2/06, Vishal Mahajan <vm...@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 <vm...@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
Re: Compile Error Fix
Posted by Vishal Mahajan <vm...@amberpoint.com>.
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 <vm...@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 {
>>
>>
>>
>
>
Re: Compile Error Fix
Posted by Raul Benito <ra...@apache.org>.
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 <vm...@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