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

TDML Runner: Strict Comparison Mode

XMLWordPrintableJSON

      Note from Mike:
      Our TDML runner and other unit test rigs we use, compare the resulting infosets in a way that strips off all attributes, and all namespace prefixes. This was done for expediency, because earlier versions of Daffodil were not doing elementFormDefault and getting all the namespace prefix definitions minimized and such, so we were getting false negative comparisons.

      I guess we need a mode which turns this off so tests can be more rigid than this in comparison. There may be a JIRA ticket for this already.

      One thing for us to consider is getting an XML-comparison 3rd party library. This issue of comparing XML in a way that is not sensitive to how namespaces are prefixed so long as they are the right namespaces, has already been solved.

      -------------------------

      In order to fully test DFDL-1330, we need the ability to perform this strict comparison, so we can verify when namespace prefixes are present in the result.

              Unassigned Unassigned
              jchab Jessie Chab
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: