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

Test Coverage: DPath Functions (String-related)

XMLWordPrintableJSON

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • s15
    • s15
    • QA
    • None

      We have some test coverage for XPath functions already. However, we were originally working on the assumption that XPath itself has already been well-tested. Now that we have our own implementation (DPath), we can no longer make those assumptions.

      We need to fully exercise the following string-related functions (See table 63 in the spec for more info):
      fn:concat
      fn:substring (2 versions)
      fn:string-length
      fn:upper-case
      fn:lower-case
      fn:contains
      fn:starts-with
      fn:ends-with
      fn:substring-before
      fn:substring-after

      I believe we should have a minimum of 5 tests for each function, including negative tests.

              efinnegan Elizabeth Finnegan
              jchab Jessie Chab
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: