You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Steve Lawrence (JIRA)" <ji...@apache.org> on 2019/06/17 12:30:00 UTC

[jira] [Assigned] (DAFFODIL-2142) DFDL annotation on complex type is silently ignored

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

Steve Lawrence reassigned DAFFODIL-2142:
----------------------------------------

    Assignee: Olabusayo Kilo

> DFDL annotation on complex type is silently ignored
> ---------------------------------------------------
>
>                 Key: DAFFODIL-2142
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2142
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Front End
>    Affects Versions: 2.4.0
>            Reporter: Michael Beckerle
>            Assignee: Olabusayo Kilo
>            Priority: Major
>             Fix For: 2.4.0
>
>
> If you put an annotation block inside a complex type, it is silently ignored.
> E.g.,
> {code:java}
>  <xsd:element name="ORDCHG">
>                 <xsd:complexType>
>                   <xsd:annotation>
>                     <xsd:appinfo source="http://www.ogf.org/dfdl/">
>                       <dfdl:assert>
>                         {fn:contains(../UNH/S009,'ORDCHG')}
>                       </dfdl:assert>
>                     </xsd:appinfo>
>                   </xsd:annotation>
>                   <xsd:sequence>
>                 ....
> {code}
> That annotation belongs inside the element, not inside the complex type. But nothing warns you about that, or suggests anything is wrong. it's just ignored.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)