[
https://issues.apache.org/jira/browse/AXIS2-5140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098988#comment-13098988
]
Andreas Veithen commented on AXIS2-5140:
----------------------------------------
I don't see anything that needs to be corrected here. The XML schema spec says
this:
"An element may be ·valid· without content if it has the attribute xsi:nil with
the value true."
However, in that statement, "true" refers to the value space, not the lexical
space. Elsewhere in the specification, the xsi:nil attribute is defined as
having type xsd:boolean, the lexical space of which is {true, false, 1, 0}.
Therefore xsi:nil="1" is perfectly valid.
> Make null value serialization schema compliant.
> -----------------------------------------------
>
> Key: AXIS2-5140
> URL: https://issues.apache.org/jira/browse/AXIS2-5140
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Affects Versions: 1.6.0
> Environment: Ubuntu Linux, JDK1.6
> Reporter: Pradeep Fernando
> Labels: adb-codegen, wsdl2java
> Fix For: 1.7.0
>
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> Code generated the skeleton using WSDL2Java and populated my business logic.
> When serializing null values it serializes them as xsi:nil="1". But it should
> be corrected as
> xsi:nil="true"
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]