cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Ma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-5089) java2ws generate both ref and nillabe attributes in a schema element
Date Wed, 26 Jun 2013 05:50:21 GMT

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

Jim Ma updated CXF-5089:
------------------------

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

  was:
As per http://www.w3.org/TR/xmlschema-1/, this is valid:

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

    
> 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

Mime
View raw message