Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5.10, 2.6.8, 2.7.5
-
None
-
Unknown
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>.