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

[jira] [Closed] (DAFFODIL-768) An element with both name and ref defined should cause an error

     [ https://issues.apache.org/jira/browse/DAFFODIL-768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Thompson closed DAFFODIL-768.
----------------------------------

Verified the specified commit (commit c777dcfea76ae4c52387f50f5b31bfd5ab8239da) is included in the latest pull from the daffodil repository.

Verified, via review, change identified in the commit comment were implemented. 

Verified that a test has been added for the issue and successful executes. Verified is does check that an element with both name and ref defined fails with an SDE. 

> An element with both name and ref defined should cause an error
> ---------------------------------------------------------------
>
>                 Key: DAFFODIL-768
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-768
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Usability
>            Reporter: Steve Lawrence
>            Assignee: Steve Lawrence
>            Priority: Trivial
>             Fix For: 3.5.0
>
>
> Right now, if both name and ref are provided, we just ignore name. This is an invalid schema and should throw an Error



--
This message was sent by Atlassian Jira
(v8.20.10#820010)