Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Duplicate
-
None
-
None
-
None
-
Win 7, v 0.9
Description
Daffodil does not appear to recognize what an unsignedInt is.
This code
<xsd:element name="Day" dfdl:length="2" dfdl:lengthKind="explicit" dfdl:textNumberPattern="#0">
<xsd:simpleType>
<xsd:restriction base="xsd:unsignedInt">
<xsd:maxInclusive value="31"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
on this input
15
creates this error message:
2013-04-29 14:16:52:161 edu.illinois.ncsa.daffodil.compiler.Compiler Error [Schema Definition Error: Expected an unsigned int for this facet. Schema
context: element.Day. Location in file:/C:/Users/jgarriss/Documents/DFDL_Schemas_Email/02_Message_Headers/Date.xsd.]
Which appears to be telling me that 15 is not an unsigned int.
Note: this bug appears in the CLI but not the JAPI, which is odd.