axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pétur Runólfsson <pe...@betware.com>
Subject [Axis2] Make ConverterUtil.getAnyTypeObject move stream to end tag when it encounters xsi:nil (AXIS2-4273)
Date Mon, 15 Jun 2009 10:28:12 GMT
Hi,

This patch adds a single call to xmlStreamReader.next() to ConverterUtil.getAnyTypeObject.
This has the effect that getAnyTypeObject now leaves the stream at the end tag of the xs:anyType
element when the xsi:nil attribute is set. When xsi:nil is not set, getAnyTypeObject already
leaves the stream at the end tag, so this patch makes getAnyTypeObject consistent with regard
to the state of the stream after getAnyTypeObject is called.

The stubs generated by wsdl2java assume that getAnyTypeObject always leaves the stream at
the end tag. This mismatch between the assumptions in the stubs and the actual behavior of
getAnyTypeObject was the cause of issue AXIS2-4273.

I had attached an earlier version of this patch to the issue, but since there has been no
response and the patch didn't apply cleanly any more, I have regenerated the patch and am
sending it again.

Regards,

Pétur Runólfsson
Betware

The content of this e-mail, together with any of its attachments, is for the exclusive and
confidential use of the named addressee(s) and it may contain legally privileged and confidential
information and/or copyrighted material. Any other distribution, use or reproduction without
the sender's prior consent is unauthorized and strictly prohibited. If you have by coincidence,
mistake or without specific authorization received this e-mail in error, please notify the
sender by e-mail immediately, uphold strict confidentiality and neither read, copy, transfer,
disseminate, disclose nor otherwise make use of its content in any way and delete the material
from your computer.

The content of the e-mail and its attachments is the liability of the individual sender, if
it does not relate to the affairs of Betware.
Betware does not assume any civil or criminal liability should the e-mail or it´s attachments
be virus infected.

Mime
View raw message