[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-j-dev
Subject:    RE: java.lang.ArrayIndexOutOfBoundsException 	at
From:       Michael Glavassevich <mrglavas () ca ! ibm ! com>
Date:       2008-01-02 18:38:22
Message-ID: OFEB99B5D1.4BA3A100-ON852573C4.00660A51-852573C4.006667F9 () ca ! ibm ! com
[Download RAW message or body]

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" <ankur.bhardwaj@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" <ankur.bhardwaj@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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic