[
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)