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 2021/01/15 17:48:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17266242#comment-17266242 ] 

Dave Thompson commented on DAFFODIL-768:
----------------------------------------

Verified that this issue has been resolved. When the ref attribute is included for an element that has the name and type attributes, the name and type attributes are disallowed and error. 

Leaving this ticket open until tests are added to the sbt test suite.

 

> 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
>            Priority: Major
>              Labels: reverify
>
> 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.3.4#803005)