Hello DFDL community,

I am reviewing a DFDL schema that someone created. See the below simpleType. 
Notice that it contains dfdl:binaryNumberCheckPolicy="strict". I am guessing 
that the author of the DFDL schema believes that that property will instruct 
Daffodil to validate the binary value against the minInclusive an maxInclusive 
facets. But I say that is not true. What do you say?  /Roger

<xsd:simpleType dfdl:alignmentUnits="bytes"
    dfdl:binaryNumberCheckPolicy="strict"
    dfdl:length="1"
    dfdl:lengthKind="explicit"
    dfdl:lengthUnits="bytes"
    dfdl:representation="binary"
    name="MessageType">
    <xsd:restriction base="xsd:byte">
        <xsd:minInclusive value="1"/>
        <xsd:maxInclusive value="4"/>
    </xsd:restriction>
</xsd:simpleType>

Reply via email to