Revision 52301
Added by Alessia Bardi almost 6 years ago
modules/dnet-schemas/trunk/src/main/resources/eu/dnetlib/test/schemas/ContextDSResourceType.xsd | ||
---|---|---|
61 | 61 |
</xs:element> |
62 | 62 |
<xs:element name="context"> |
63 | 63 |
<xs:complexType> |
64 |
<xs:sequence>
|
|
64 |
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
65 | 65 |
<xs:element maxOccurs="unbounded" minOccurs="0" ref="param"/> |
66 | 66 |
<xs:element maxOccurs="unbounded" minOccurs="0" ref="category"/> |
67 |
</xs:sequence>
|
|
67 |
</xs:choice>
|
|
68 | 68 |
<xs:attribute name="id" use="required" type="xs:string"/> |
69 | 69 |
<xs:attribute name="label" use="required" type="xs:string"/> |
70 | 70 |
<xs:attribute name="type" use="required" type="xs:string"/> |
... | ... | |
72 | 72 |
</xs:element> |
73 | 73 |
<xs:element name="category"> |
74 | 74 |
<xs:complexType> |
75 |
<xs:sequence>
|
|
75 |
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
76 | 76 |
<xs:element ref="param" maxOccurs="unbounded" minOccurs="0"/> |
77 | 77 |
<xs:element maxOccurs="unbounded" minOccurs="0" ref="concept"/> |
78 |
</xs:sequence>
|
|
78 |
</xs:choice>
|
|
79 | 79 |
<xs:attribute name="claim" use="required" type="xs:boolean"/> |
80 | 80 |
<xs:attribute name="id" use="required" type="xs:string"/> |
81 | 81 |
<xs:attribute name="label" use="required"/> |
... | ... | |
94 | 94 |
<xs:element ref="param"/> |
95 | 95 |
</xs:choice> |
96 | 96 |
<xs:attribute name="claim" use="optional" type="xs:boolean"/> |
97 |
<xs:attribute name="id" use="required" type="xs:string"/>
|
|
97 |
<xs:attribute name="id" use="required" type="xs:string"/> |
|
98 | 98 |
<xs:attribute name="label" use="required"/> |
99 | 99 |
</xs:complexType> |
100 | 100 |
</xs:element> |
Also available in: Unified diff
using unbounded choice instead of sequence because for an XML parser the order of the elements is not important. Profile already updated in beta and prod.