Description
Bug in the new enum support system.
The schema:
<xs:simpleType name="f" dfdl:repType="xs:int">
<xs:restriction base="xs:string">
<xs:enumeration value="one" dfdl:repValues="1"/>
<xs:enumeration value="zero" dfdl:repValues="0"/>
</xs:restriction>
</xs:simpleType><xs:element name="a" type="xs:string" dfdl:inputValueCalc="{dfdl:inputTypeCalcString('tns:f',0)}" />
fails to compile with:
Schema Definition Error: Identity transform requires that the basetype and reptype have a common primitive type