In my xsd, I have some string wtih enumeration restriction. For example:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="
http://myTarget"
xmlns:xs="
http://www.w3.org/2001/XMLSchema"
targetNamespace="
http://myTarget"
attributeFormDefault="unqualified"
elementFormDefault="qualified"
version="1.0">
<xs:simpleType name="bookingPoolName">
<xs:restriction base="xs:string">
<xs:enumeration value="EU-MIA.BB.Service.Subpool" />
<xs:enumeration value="MIA.BB.AS3301.Service.Subpool"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
In Java, I would like this object to only be considered as a string and not as an enum. Is it possible to do it via xsdconfig?