Sorry if this is a stupid question but have to ask to know if this is possible So this is XSD
<xs:simpleType name="PhoneTypeEnum">
<xs:restriction base="xs:string">
<xs:enumeration value="Fax"/>
<xs:enumeration value="Voice"/>
<xs:enumeration value="Pager"/>
</xs:restriction>
</xs:simpleType>
The relaxation is below
- When we get values where fax or FAX the validation should not fail and still except as Fax as correct value.
- When there is no values matching either of Fax ,Voice or Pager then also XSD validation should not fail but go as unknown as values .
Is this possible in XSD schema validation ? If not then we have to do this in custom code validation in java .
Please suggest if this is doable ?