(I added comments to the wiki page, but doing the discussion on this list is probably better from Apache-process considerations: "If it didn't happen on the mailing list, it didn't happen.")
The code seems to infer the argument types, but the examples all have explicit DPath cast functions being called. Are those xs:float(...) type argument conversion calls actually required, or will the DPath implementation know the arg type of the function so that it can insure the argument has that type as it does for built-in functions? I ask because a goal for any UDF facility in any system is that once defined, a UDF call is as indistinguishable from a built-in function as possible. ________________________________ From: Kilo, Olabusayo <[email protected]> Sent: Friday, September 6, 2019 10:30 AM To: [email protected] <[email protected]> Subject: [DISCUSS] User Defined Functions Capability I'm requesting a discussion on the addition of the User Defined Functions capability to daffodil. The proposal referenced below provides a possible solution for Daffodil to be able to process and use User Defined Functions referenced in the DFDL Schema. The original request can be found at https://issues.apache.org/jira/browse/DAFFODIL-2186 and the proposal can be found https://cwiki.apache.org/confluence/display/DAFFODIL/Proposal%3A+User+Defined+Functions.
