The {max occurs} of an element in an 'all' model group must be 0 or 1 [message #1814762] |
Tue, 17 September 2019 11:33  |
Eclipse User |
|
|
|
Eclipse and XMLSpy don't agree. XMLSpy says this is not an error. Eclipse claims it is an error. Which is correct?
Eclipse XML Editors and Tools 3.14.0.v201905291408 org.eclipse.wst.xml_ui.feature.feature.group Eclipse Web Tools Platform
The full eclipse error is below.
cos-all-limited.2: The {max occurs} of an element in an 'all' model group must be 0 or 1. The value '-1 ' for element 'ConfigEngine_Action' is invalid.
The XSD snippet is below
<xs:element name="Before_Cell_Stop_OS_Command_Line_Sequence">
<xs:complexType>
<xs:all>cos-all-limited.2: The {max occurs} of an element in an 'all' model group must be 0 or 1. The value '-1 ' for element 'ConfigEngine_Action' is invalid.
<xs:element name="Before_Cell_Stop_OS_Command_Line_Sequence">
<xs:complexType>
<xs:all>
<xs:element ref="OS_Command_String" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="XMLAccess_Action_Alias" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="ConfigEngine_Action" minOccurs="0" maxOccurs="unbounded"/>
</xs:all>
<xs:attribute name="Perform"/>
</xs:complexType>
</xs:element>
|
|
|
|
Powered by
FUDForum. Page generated in 0.07303 seconds