RE: NullPointerException

2003-10-22 Thread Courtney, Craig
We are using Xerces-J 2.1.0 and I can't supply a file that shows this behavior because it is sporadic. If I start the process back up it will continue processing just fine including retrying the parse that failed before. I use the attached helper to actually parse the xml. Each thread in the

Re: NullPointerException

2003-10-22 Thread Michael Glavassevich
Hi Craig, What version of Xerces did this occur with? Also, could you supply a sample document that illustrates the problem. Thanks. On Wed, 22 Oct 2003, Courtney, Craig wrote: > We are getting periodic NullPointerExceptions while parsing documents. Here > is the relevant parts of the stack t

NullPointerException

2003-10-22 Thread Courtney, Craig
We are getting periodic NullPointerExceptions while parsing documents. Here is the relevant parts of the stack trace. Has anyone run into a similar problem and know how to solve it? Thanks Craig java.lang.NullPointerException org.apache.xerces.impl.dtd.models.DFAContentModel.buildDFA(DFACo

Re: accessing schema validated values

2003-10-22 Thread Christian Schuhegger
Hi Elena, I believe the ItemPSVI interface should have only one method that returns an Object representing the actual value. Given that, you will need to have bunch of instanceof checks in your code to be able to cast to the internal Xerces representation, i.e. XDecimal, and then get a Java decimal