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

User defined functions for DPath expressions

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • Back End, Front End
    • None

    Description

      Some things cannot be reasonably expressed in DFDL's DPath expression language.

      A good example of this is the abililty to convert between elevation measured in height above geoid (aka elevation above mean sea level or MSL), and height-above-elipsoid or HAE. This requires a table of numbers and interpolation. Nevertheless a DFDL schema needs to convert units of measure and it is very convenient to have the output of a DFDL parse to be normalized into a desired unit of measure.

      The ability to define a function in a separate jar library, and call it from a DPath expression, having registered it somehow so Daffodil can find it, is what I'm calling a user-defined function.

       

       

       

      Attachments

        Activity

          People

            okilo@tresys.com Olabusayo Kilo
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: