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

Test Coverage: DPath Functions (String-related)

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Done
    • s15
    • s15
    • QA
    • None

    Description

      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.

      Attachments

        Activity

          People

            efahl Elizabeth Fahl
            daffodil-jchab Jessie Chab
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: