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: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] "Ankur Narain Bhardwaj ,Gurgaon" <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > E-mail: [EMAIL PROTECTED] > > "Ankur Narain Bhardwaj ,Gurgaon" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]