Re: java.lang.StackOverflowError while validating CDATA using DomParser

2008-03-23 Thread Michael Glavassevich
Hi Martin, [EMAIL PROTECTED] wrote on 03/21/2008 05:58:56 AM: > > > >> The problem goes away, or maybe the StackOverflow does not happen when I > >> shorten the CDATA section under 2000 bytes. The number 2000 here is > >> probably related to -Xms defined when starting JVM... > >> > >> Is this a

Re: java.lang.StackOverflowError while validating CDATA using DomParser

2008-03-21 Thread Martin Man
Hi Michael, thanx for your quick reply, more inline... Michael Glavassevich wrote: Hi Martin, [EMAIL PROTECTED] wrote on 03/20/2008 09:38:02 AM: The stacktrace of xerces when it dies with Stack Overflow is ending at matchString until the stack overflows: ... org.apache.xerces.impl.xpath.r

Re: java.lang.StackOverflowError while validating CDATA using DomParser

2008-03-20 Thread Michael Glavassevich
Hi Martin, [EMAIL PROTECTED] wrote on 03/20/2008 09:38:02 AM: > The stacktrace of xerces when it dies with Stack Overflow is ending at > matchString until the stack overflows: > > ... > org.apache.xerces.impl.xpath.regex.RegularExpression.matchString > org.apache.xerces.impl.xpath.regex.Regular

java.lang.StackOverflowError while validating CDATA using DomParser

2008-03-20 Thread Martin Man
Hi all, [ please CC me on replies as I'm not following j-users ] I'm hitting something that might be a xerces bug while parsing & validating rather small XML file that contains the CDATA of around 2000 bytes long. The schema for this element is defined like this: