Re: [JiBX DataBinding] An issue when feeding the XMLStreamReader to JiBX framework

2010-06-30 Thread Nilupa Bandara
On Tue, Jun 29, 2010 at 10:11 PM, Dennis Sosnoski wrote: > Never mind, I think I found the issue. I've changed the StAXReaderWrapper > code so that you should no longer need to call startTag() at all and have > changed that back to a private method. Please try the latest 1.2.3-SNAPSHOT > jars and

Re: [JiBX DataBinding] An issue when feeding the XMLStreamReader to JiBX framework

2010-06-29 Thread Dennis Sosnoski
Never mind, I think I found the issue. I've changed the StAXReaderWrapper code so that you should no longer need to call startTag() at all and have changed that back to a private method. Please try the latest 1.2.3-SNAPSHOT jars and verify that this now works. Thanks again, - Dennis Dennis

Re: [JiBX DataBinding] An issue when feeding the XMLStreamReader to JiBX framework

2010-06-29 Thread Dennis Sosnoski
Nilupa Bandara wrote: On Sat, Jun 26, 2010 at 1:00 AM, Dennis Sosnoski wrote: ... Nilupa, I've updated JiBX CVS with this change and posted new 1.2.3-SNAPSHOT jars to the maven1 repository at http://jibx.sourceforge.net/maven/jibx/jars/ Try adding the call to startTag() after constructing th

Re: [JiBX DataBinding] An issue when feeding the XMLStreamReader to JiBX framework

2010-06-27 Thread Nilupa Bandara
On Sat, Jun 26, 2010 at 1:00 AM, Dennis Sosnoski wrote: > Daniel Kulp wrote: > >> On Friday 25 June 2010 12:44:49 pm Dennis Sosnoski wrote: >> >> >>> Hi Nilupa, >>> >>> Looking at the stack trace, I'm wondering how you're passing the >>> XMLStreamReader to JiBX. The way the code is set up, you ne

Re: [JiBX DataBinding] An issue when feeding the XMLStreamReader to JiBX framework

2010-06-25 Thread Dennis Sosnoski
Daniel Kulp wrote: On Friday 25 June 2010 12:44:49 pm Dennis Sosnoski wrote: Hi Nilupa, Looking at the stack trace, I'm wondering how you're passing the XMLStreamReader to JiBX. The way the code is set up, you need to create the StAXReaderWrapper *before* you reach the start tag of the eleme

Re: [JiBX DataBinding] An issue when feeding the XMLStreamReader to JiBX framework

2010-06-25 Thread Daniel Kulp
On Friday 25 June 2010 12:44:49 pm Dennis Sosnoski wrote: > Hi Nilupa, > > Looking at the stack trace, I'm wondering how you're passing the > XMLStreamReader to JiBX. The way the code is set up, you need to create > the StAXReaderWrapper *before* you reach the start tag of the element > that's goi

Re: [JiBX DataBinding] An issue when feeding the XMLStreamReader to JiBX framework

2010-06-25 Thread Dennis Sosnoski
Hi Nilupa, Looking at the stack trace, I'm wondering how you're passing the XMLStreamReader to JiBX. The way the code is set up, you need to create the StAXReaderWrapper *before* you reach the start tag of the element that's going to be processed by JiBX (so in the case of processing a SOAP m

[JiBX DataBinding] An issue when feeding the XMLStreamReader to JiBX framework

2010-06-17 Thread Nilupa Bandara
Hi, I'm getting the following error (for both the simple types case and complex types case) when I feed the XMLStreamReader to Unmarshalling context without the following workaround[2]. It seems that the problem occurs when the XMLStreamReader is used by JiBX framework to access an element which a