You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by "Ankur Narain Bhardwaj ,Gurgaon" <an...@hcl.in> on 2007/12/31 11:25:42 UTC

java.lang.ArrayIndexOutOfBoundsException at org.apache.xerces.impl.XMLEntityScanner.skipSpaces (Require patch for this known issue for Xerces 2.7.1)

Hi

 

Can someone please provide me with a patch for the following known
problem in the Xerces 2.7.1 jar. It is very urgent and important that I
get a fix for this known issue.

 

I am getting the following exception. 

java.lang.ArrayIndexOutOfBoundsException at
org.apache.xerces.impl.XMLEntityScanner.skipSpaces

 

It seems that the apache Xerces developers have fixed the problem, but
the fix is not available in any of the releases. This is a bug in the
xerces.jar 2.7.1, details of which can be found at the following
location

 

https://issues.apache.org/jira/browse/XERCESJ-1275?page=com.atlassian.ji
ra.plugin.system.issuetabpanels:all-tabpanel

 

 

Regards

Ankur

 



DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

RE: java.lang.ArrayIndexOutOfBoundsException at org.apache.xerces.impl.XMLEntityScanner.skipSpaces (Require patch forthis known issue for Xerces 2.7.1)

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Hi Ankur,

Here's a link [1] to the patch. Though it might not be obvious from the bug
report this was applied to Xerces-J 2.9.1. You should be able to apply it
to the 2.7.1 source.

Thanks.

[1]
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/io/UTF8Reader.java?r1=446716&r2=554069

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org

"Ankur Narain Bhardwaj ,Gurgaon" <an...@hcl.in> wrote on
01/01/2008 11:22:36 PM:

> Hi Michael
>
> The same problem seems to be there in the version 2.9.1 according to the
> apache website. The bug repository mentions 2.7.1 and 2.9.1 as the
> affected version, moreover our application will need to undergo at least
> 2 months of testing if we were to upgrade any Xalan, Xerces or FOP java
> libraries. Is there any patch available so that the fix can be applied
> in the xerces 2.7.1 version?
>
> Thanks and Regards
> Ankur Narain Bhardwaj
> Software Engineer
> HCL Technologies Ltd.
> C1, Sector-34, Infocity, Gurgaon - 122 002
> Tel: +91-124 - 6616565 Extn: 6539
> Mob: +91- 9868744154
> www.hcltech.com
> www.hcl.in
>
>
> -----Original Message-----
> From: Michael Glavassevich [mailto:mrglavas@ca.ibm.com]
> Sent: Monday, December 31, 2007 7:35 PM
> To: j-users@xerces.apache.org
> Subject: Re: java.lang.ArrayIndexOutOfBoundsException at
> org.apache.xerces.impl.XMLEntityScanner.skipSpaces (Require patch
> forthis known issue for Xerces 2.7.1)
>
> Have you tried Xerces-J 2.9.1?
>
> Michael Glavassevich
> XML Parser Development
> IBM Toronto Lab
> E-mail: mrglavas@ca.ibm.com
> E-mail: mrglavas@apache.org
>
> "Ankur Narain Bhardwaj ,Gurgaon" <an...@hcl.in> wrote on
> 12/31/2007 05:25:42 AM:
>
> > Hi
> >
> > Can someone please provide me with a patch for the following known
> > problem in the Xerces 2.7.1 jar. It is very urgent and important
> > that I get a fix for this known issue.
> >
> > I am getting the following exception.
> > java.lang.ArrayIndexOutOfBoundsException at org.apache.xerces.impl.
> > XMLEntityScanner.skipSpaces
> >
> > It seems that the apache Xerces developers have fixed the problem,
> > but the fix is not available in any of the releases. This is a bug
> > in the xerces.jar 2.7.1, details of which can be found at the
> > following location
> >
> > https://issues.apache.org/jira/browse/XERCESJ-1275?page=com.
> > atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> >
> >
> > Regards
> > Ankur
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
> For additional commands, e-mail: j-users-help@xerces.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org


RE: java.lang.ArrayIndexOutOfBoundsException at org.apache.xerces.impl.XMLEntityScanner.skipSpaces (Require patch forthis known issue for Xerces 2.7.1)

Posted by "Ankur Narain Bhardwaj ,Gurgaon" <an...@hcl.in>.
Hi Michael

The same problem seems to be there in the version 2.9.1 according to the
apache website. The bug repository mentions 2.7.1 and 2.9.1 as the
affected version, moreover our application will need to undergo at least
2 months of testing if we were to upgrade any Xalan, Xerces or FOP java
libraries. Is there any patch available so that the fix can be applied
in the xerces 2.7.1 version? 

Thanks and Regards
Ankur Narain Bhardwaj
Software Engineer
HCL Technologies Ltd.
C1, Sector-34, Infocity, Gurgaon - 122 002
Tel: +91-124 - 6616565 Extn: 6539
Mob: +91- 9868744154 
www.hcltech.com 
www.hcl.in

 
-----Original Message-----
From: Michael Glavassevich [mailto:mrglavas@ca.ibm.com] 
Sent: Monday, December 31, 2007 7:35 PM
To: j-users@xerces.apache.org
Subject: Re: java.lang.ArrayIndexOutOfBoundsException at
org.apache.xerces.impl.XMLEntityScanner.skipSpaces (Require patch
forthis known issue for Xerces 2.7.1)

Have you tried Xerces-J 2.9.1?

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org

"Ankur Narain Bhardwaj ,Gurgaon" <an...@hcl.in> wrote on
12/31/2007 05:25:42 AM:

> Hi
>
> Can someone please provide me with a patch for the following known
> problem in the Xerces 2.7.1 jar. It is very urgent and important
> that I get a fix for this known issue.
>
> I am getting the following exception.
> java.lang.ArrayIndexOutOfBoundsException at org.apache.xerces.impl.
> XMLEntityScanner.skipSpaces
>
> It seems that the apache Xerces developers have fixed the problem,
> but the fix is not available in any of the releases. This is a bug
> in the xerces.jar 2.7.1, details of which can be found at the
> following location
>
> https://issues.apache.org/jira/browse/XERCESJ-1275?page=com.
> atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>
>
> Regards
> Ankur


---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org


DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org


Re: java.lang.ArrayIndexOutOfBoundsException at org.apache.xerces.impl.XMLEntityScanner.skipSpaces (Require patch for this known issue for Xerces 2.7.1)

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Have you tried Xerces-J 2.9.1?

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org

"Ankur Narain Bhardwaj ,Gurgaon" <an...@hcl.in> wrote on
12/31/2007 05:25:42 AM:

> Hi
>
> Can someone please provide me with a patch for the following known
> problem in the Xerces 2.7.1 jar. It is very urgent and important
> that I get a fix for this known issue.
>
> I am getting the following exception.
> java.lang.ArrayIndexOutOfBoundsException at org.apache.xerces.impl.
> XMLEntityScanner.skipSpaces
>
> It seems that the apache Xerces developers have fixed the problem,
> but the fix is not available in any of the releases. This is a bug
> in the xerces.jar 2.7.1, details of which can be found at the
> following location
>
> https://issues.apache.org/jira/browse/XERCESJ-1275?page=com.
> atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>
>
> Regards
> Ankur


---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org