You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Olabusayo Kilo (Jira)" <ji...@apache.org> on 2019/11/08 16:27:00 UTC

[jira] [Commented] (DAFFODIL-2186) User defined functions for DPath expressions

    [ https://issues.apache.org/jira/browse/DAFFODIL-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16970370#comment-16970370 ] 

Olabusayo Kilo commented on DAFFODIL-2186:
------------------------------------------

Fixed in commit 53ae92f43a31623f4aa1544db96d3bab0112b46f

> User defined functions for DPath expressions
> --------------------------------------------
>
>                 Key: DAFFODIL-2186
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2186
>             Project: Daffodil
>          Issue Type: New Feature
>          Components: Back End, Front End
>    Affects Versions: 2.4.0
>            Reporter: Mike Beckerle
>            Assignee: Olabusayo Kilo
>            Priority: Major
>             Fix For: 2.5.0
>
>
> 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.
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)