cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <>
Subject [jira] Updated: (CXF-1266) Nil value for nillable array element is default-constructed
Date Wed, 28 Oct 2009 19:24:59 GMT


Daniel Kulp updated CXF-1266:

    Assignee: Benson Margulies  (was: Daniel Kulp)


If I remove the @Ignore on the test for this in DocLitWrappedClientTest,  the generated message
looks like:

            <jns3:beanArray/> <!-- NOTE the missing xsi:nil -->

            <jns3:beanArray xmlns:jns0='uri:org.apache.cxf.javascript.testns3' xmlns:jns1='uri:org.apache.cxf.javascript.testns'
xmlns:jns2='uri:org.apache.cxf.javascript.testns2' >

Thus, it's getting schema validation errors.   In anycase, this seems to be a javascript generation
bug or something as that definitely should be nil.

> Nil value for nillable array element is default-constructed
> -----------------------------------------------------------
>                 Key: CXF-1266
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: JAXB Databinding
>    Affects Versions: 2.1
>            Reporter: Benson Margulies
>            Assignee: Benson Margulies
>         Attachments: ii.xml
> My javascript code generates the (about to be) attached XML message for the beanFunction
operation of org.apache.cxf.javascript.fortest.SimpleDocLitBare. The service receives a default-constructed
object instead of a null pointer for the slot corresponding to the xsi:nil.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message