You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2021/01/13 20:56:00 UTC

[jira] [Commented] (DAFFODIL-1189) DPath: implement fn:exactly-one

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

Steve Lawrence commented on DAFFODIL-1189:
------------------------------------------

We actually want tests that contain "fn:exactly-one". The "fn:exists" that Mike mentions is how the implementation of fn:exactly-one should work (which could also be used as a workaround to not having fn:exactly-one). Do we have any tests that contain that?

> DPath: implement fn:exactly-one
> -------------------------------
>
>                 Key: DAFFODIL-1189
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1189
>             Project: Daffodil
>          Issue Type: Bug
>          Components: DFDL Language
>            Reporter: Taylor Wise
>            Priority: Major
>
> Implement fn:exactly-one. 
> There are two phases to this. One behaves like{code} if (fn:exists(x)) then x else error {code}. This is the version that we need first. 
> Later, once DFDL-1118 is implemented this needs to be revisited. However, that's a separate issue. Not even creating a ticket for it. This task should be part of the implementation work for DFDL-1118.



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