Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2026

TDML Runner - type-sensitive comparison

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • TDML Runner
    • None

    Description

      TDML runner needs to be able to implement type-specific comparisons when comparing actual and expected infosets.

      This is because there are representations of types like dates and times that are equivalent.
      E.g.,
      <date1>2010-12-30Z</date1>
      and
      <date1>2010-12-30+00:00</date1>
      These are entirely equivalent.

      We need to perform type-specific comparison here.

      This needs to occur based on the DFDL schema's type information.

      DFDL implementations aren't going to provide uniform (or even any) projection of type information into the infoset when represented in XML. So we can't depend on say, xsi:type information (DAFFODIL-182) functionality to tell us to compare as dates.

      This means the XML comparison logic must be an XML-schema-aware walk of the data.

      Attachments

        Activity

          People

            slawrence Steve Lawrence
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: