Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-677

Daffodil fails to recongize unsignedInt

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocking
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: s10
    • Component/s: None
    • Labels:
      None
    • Environment:
      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              twise Taylor Wise
              Reporter:
              james.garriss James Garriss
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Tasks