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

Detect error where dfdl:property doesn't have dfdl:element around it.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • Diagnostics, Front End
    • None

    Description

      If you create an element with the inputValueCalc property expressed like this

      <xs:element name="value">
      <xs:annotation><xs:appinfo source="http://www.ogf.org/dfdl/">
          <dfdl:property name="inputValueCalc"><![CDATA[
            { ...expression }
          ]]></dfdl:property>
      </xs:appinfo></xs:annotation>
      <xs:simpleType>
      ...
      </xs:simpleType>
      </xs:element>
      

      At compilation time this will not cause an error, even though a dfdl:element annotation is required, and dfdl:property is not allowed like this. (BUG 1)
      So silently, this asks for length property to be defined, because it isn't seeing this as an
      IVC at all.

      Attachments

        Activity

          People

            dfthompson Dave Thompson
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 4m
                4m