Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 5960 invoked from network); 28 Aug 2008 23:44:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Aug 2008 23:44:41 -0000 Received: (qmail 46494 invoked by uid 500); 28 Aug 2008 23:44:33 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 46450 invoked by uid 500); 28 Aug 2008 23:44:33 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 46436 invoked by uid 99); 28 Aug 2008 23:44:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2008 16:44:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2008 23:43:44 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 51796234C1BB for ; Thu, 28 Aug 2008 16:43:44 -0700 (PDT) Message-ID: <1770838834.1219967024332.JavaMail.jira@brutus> Date: Thu, 28 Aug 2008 16:43:44 -0700 (PDT) From: "Chyi Pin Lim (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-4001) Union Deserialization of attributes is broken In-Reply-To: <2089932637.1219966784300.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-4001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chyi Pin Lim updated AXIS2-4001: -------------------------------- Attachment: unionExtension.xsd XML Schema for union extension. > Union Deserialization of attributes is broken > --------------------------------------------- > > Key: AXIS2-4001 > URL: https://issues.apache.org/jira/browse/AXIS2-4001 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: adb > Reporter: Chyi Pin Lim > Attachments: unionExtension.xsd, UnionExtensionTest.java > > > Deserialization of attributes union extension is broken. > Attached is the schema and JUnit test sample. > During deserialization, it threw the following exception: > java.lang.IllegalStateException: Current state not START_ELEMENT > at com.ctc.wstx.sr.BasicStreamReader.getAttributeValue(BasicStreamReader.java:641) > at org.example.www.unionextension.TestUnionExtensionType$Factory.parse(TestUnionExtensionType.java:533) > at org.apache.axis2.schema.extension.UnionExtensionTest.testUnionExtension(UnionExtensionTest.java:24) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > while attempting to read the attribute value after deserializing the element type. > Side note: The attributes are also not serialized. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org