You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jim Ma (JIRA)" <ji...@apache.org> on 2013/06/27 10:24:20 UTC

[jira] [Resolved] (CXF-5089) java2ws generate both ref and nillabe attributes in a schema element

     [ https://issues.apache.org/jira/browse/CXF-5089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Ma resolved CXF-5089.
-------------------------

    Resolution: Fixed
    
> java2ws generate both ref and nillabe attributes in a schema element 
> ---------------------------------------------------------------------
>
>                 Key: CXF-5089
>                 URL: https://issues.apache.org/jira/browse/CXF-5089
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.5.10, 2.6.8, 2.7.5
>            Reporter: Jim Ma
>            Assignee: Jim Ma
>             Fix For: 2.5.11, 2.6.9, 2.7.6, 3.0.0
>
>
> As per http://www.w3.org/TR/xmlschema-1/, this is invalid:
> 3.3.3 Constraints on XML Representations of Element Declarations
>   Schema Representation Constraint: Element Declaration Representation
> 2.2 If ref is present, then all of <complexType>, <simpleType>, <key>, <keyref>, <unique>, nillable, default, fixed, form, block and type must be absent, i.e. only minOccurs, maxOccurs, id are allowed in addition to ref, along with <annotation>.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira