I have the following base schema definition:
I try to redefine as:
Xerces gives the following error:
Can someone please tell me how to properly redefine this model as empty since the topicmeta element is emptiable.
Thanks.
Code:
<xs:group name="learningSummaryRef.content"> <xs:sequence> <xs:sequence> <xs:group ref="topicmeta" minOccurs="0" maxOccurs="1"/> </xs:sequence> </xs:sequence> </xs:group>
Code:
<xs:group name="learningSummaryRef.content"> <xs:sequence> <xs:sequence> <xs:group ref="topicmeta" minOccurs="0" maxOccurs="0"/> </xs:sequence> </xs:sequence> </xs:group>
Code:
rcase-Recurse.2: There is not a complete functional mapping between the particles.
Code:
src-redefine.6.2.2: Group 'learningSummaryRef.content' does not properly restrict the group it redefines; constraint violated: 'rcase-Recurse.2'.
Thanks.