Return-Path: Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: (qmail 78775 invoked from network); 30 Jun 2010 22:54:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Jun 2010 22:54:29 -0000 Received: (qmail 2993 invoked by uid 500); 30 Jun 2010 22:54:28 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 2905 invoked by uid 500); 30 Jun 2010 22:54:28 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Received: (qmail 2897 invoked by uid 99); 30 Jun 2010 22:54:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jun 2010 22:54:27 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nilupa.manamperi@gmail.com designates 74.125.82.169 as permitted sender) Received: from [74.125.82.169] (HELO mail-wy0-f169.google.com) (74.125.82.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jun 2010 22:54:20 +0000 Received: by wyb39 with SMTP id 39so1477936wyb.0 for ; Wed, 30 Jun 2010 15:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=G0HaZMTHRdDIBFc4hUHR5aFt3N61Vj6bJCvPanwY3E4=; b=IRZJzg08MXVP3nJA0VaPPJfXnC2s4Wk7F9xX/IcSHOVc9vcbZCJrq9AgI8DRkrBnpl lI0+SJnlYe3+zZxtgOWda7q3dF+l0kORxYUICX7hg2t9vuPZzRVzMgOHr7FnDIcOu/fA 4WMgednFoHuWW/gnTt+tNiwxy+Q4mAQQecTjc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ieJ+YhATw6VUULcETjmoD87+UXQlO4fsK1xr+q3NkMIXg2hMgxx1LXDI/aaX+3ULXi xS+IVUQCyLFZ6J4MzU7hnMnjWWe3YzjEu2i1qi1o/ZxiddjArfvLxzXL57diMbUu1O1Q dnXxRdBVMix6/Qh/v98thiMAvhLc/nxCtSv5U= MIME-Version: 1.0 Received: by 10.216.163.137 with SMTP id a9mr91128wel.63.1277938380477; Wed, 30 Jun 2010 15:53:00 -0700 (PDT) Received: by 10.216.28.83 with HTTP; Wed, 30 Jun 2010 15:53:00 -0700 (PDT) In-Reply-To: <4C2A5385.4010306@sosnoski.com> References: <4C24DD01.5040206@sosnoski.com> <201006251521.52795.dkulp@apache.org> <4C2534F2.4060607@sosnoski.com> <4C2A4B01.60202@sosnoski.com> <4C2A5385.4010306@sosnoski.com> Date: Thu, 1 Jul 2010 00:53:00 +0200 Message-ID: Subject: Re: [JiBX DataBinding] An issue when feeding the XMLStreamReader to JiBX framework From: Nilupa Bandara To: dev@cxf.apache.org Content-Type: multipart/alternative; boundary=0016367fab6b369442048a4737c7 X-Virus-Checked: Checked by ClamAV on apache.org --0016367fab6b369442048a4737c7 Content-Type: text/plain; charset=ISO-8859-1 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 verify that this now works. > Yes it works fine now :-). Thanks for fix !! By the way, I've started working on the JiBX code generation API and implementing a DataBidingProfile for JiBX databinding implementation. I will post my progress as soon as I get to work to some extent and post any questions that might occur along the way. Thanks & Best Regards Nilupa > Thanks again, > > - Dennis > > > > Dennis Sosnoski wrote: > >> 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 the StAXReaderWrapper, it should get you >>>> past >>>> the problem. >>>> >>>> >>>> >>>> >>> Hi, >>> >>> Still it gives an error even if I call the startTag() after >>> instantiating >>> the StAXReaderWrapper object[1]. However if I call same method twice >>> startTag(), it works[2] >>> >>> >> >> It sounds like the code is somehow reading beyond the end of the element >> you're having JiBX unmarshal, to the enclosing element end tag. I don't know >> why this would be occurring. >> >> Can you send me the stack traces you get when (1) you don't call >> wrapper.startTag() at all, and when (2) you just call it once? That may help >> me determine what's going wrong. >> >> Thanks, >> >> - Dennis >> >> -- Nilupa Bandara --0016367fab6b369442048a4737c7--