Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2142

DFDL annotation on complex type is silently ignored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • Front End
    • None

    Description

      If you put an annotation block inside a complex type, it is silently ignored.

      E.g.,

       <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>
                      ....
      

      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.

      Attachments

        Issue Links

          Activity

            People

              okilo@tresys.com Olabusayo Kilo
              mbeckerle Mike Beckerle
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m