Jim Ma created CXF-5089:
---------------------------
Summary: 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.7.5, 2.6.8, 2.5.10
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 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>.
--
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