Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Consider schema such as:
<xs:simpleType name="nonExistantTypeCalc" type="xs:int" dfdl:lenthKind="explicit" dfdl:length="1" />
<xs:element name="root" type="xs:int" dfdl:inputValueCalc="{ dfdl:inputTypeCalcInt('tns:nonExistantTypeCalc', 0) }"/>
Or
<xs:element name="root" type="xs:int" dfdl:inputValueCalc="{ dfdl:inputTypeCalcInt('tns:nonExistantType', 0) }"/>
In principle, it should be possible to report this as an SDE at compile time. However, at the moment no error is reported until the expression is evaulated at runtime.