Re: [Simple-support] XML readers share the same entity expansion counter
Brought to you by:
niallg
|
From: Shevek <sh...@an...> - 2014-02-06 08:02:56
|
Simply executing the existing test suite using an affected JDK demonstrates the issue: The last 300 or so tests of the existing suite will just fail, as the full test suite does more than 64K entity expansions. A new test is not required. I note that while my own dev system is currently using the affected 1.7.0_51 b08, the bug is fixed in b10, so this might go away with waiting for the Linux distributions to update. The JDK ticket says it also affects StAX. Our production sites only hit this after a few days' uptime, so it's a good thing I found the bug by executing the simple-xml test suite on an affected JDK before our devs lost a load of time trying to reproduce! S. On 02/05/2014 11:27 PM, Niall Gallagher wrote: > Supply a unit test that proves it is a problem and propose a fix. I have never had a problem with this. Does it occur with Woostox StAX parser also? > > -------------------------------------------- > On Wed, 5/2/14, Shevek <sh...@an...> wrote: > > Subject: [Simple-support] XML readers share the same entity expansion counter > To: "sim...@li..." <sim...@li...> > Received: Wednesday, 5 February, 2014, 8:38 PM > > https://bugs.openjdk.java.net/browse/JDK-8028111 > > This issue has hit two organizations in which I have > deployed SimpleXML. > > Can the SimpleXML community please take a view to a fix or > workaround? > > Thank you. > > S. > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common > Pitfalls. > Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk > _______________________________________________ > Simple-support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simple-support > > |