Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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.