Enumeration restriction in Simple Type
Hi,
Is there any way to add a restriction list of values for a property of a custom type?
I have tried to define a xs:restriction with an enumeration but when i create a document with cmis services; this restriction is not applicated.
<xs:element name=“origen” type=“xs:string”> <xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="PDSR"/>
</xs:restriction>
</xs:simpleType> </xs:element>
Thank you very much
0 votes
0 answers
1656 views