axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <>
Subject [jira] [Commented] (AXIS2-5140) Make null value serialization schema compliant.
Date Wed, 07 Sep 2011 14:33:10 GMT


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

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:
>             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:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message