You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@daffodil.apache.org by "Costello, Roger L." <co...@mitre.org> on 2019/09/09 17:37:21 UTC

Bug in Daffodil? Error when I put documentFinalTerminatorCanBeMissing on dfdl:format

The specification says that documentFinalTerminatorCanBeMissing must occur on dfdl:format, so I did that:

<xs:annotation>
    <xs:appinfo source="http://www.ogf.org/dfdl/">
        <dfdl:format ref="default-dfdl-properties"
                     dfdl:documentFinalTerminatorCanBeMissing="yes" />
    </xs:appinfo>
</xs:annotation>

Parsing produced this error:

Attribute 'dfdl:documentFinalTerminatorCanBeMissing' is not allowed to appear in element 'dfdl:format'

The specification says it must appear on dfdl:format but Daffodil says it must not. Which is correct?

/Roger


Re: Bug in Daffodil? Error when I put documentFinalTerminatorCanBeMissing on dfdl:format

Posted by "Beckerle, Mike" <mb...@tresys.com>.
That property is Unsupported by Daffodil currently.
________________________________
From: Costello, Roger L. <co...@mitre.org>
Sent: Monday, September 9, 2019 1:37 PM
To: users@daffodil.apache.org <us...@daffodil.apache.org>
Subject: Bug in Daffodil? Error when I put documentFinalTerminatorCanBeMissing on dfdl:format


The specification says that documentFinalTerminatorCanBeMissing must occur on dfdl:format, so I did that:



<xs:annotation>
    <xs:appinfo source="http://www.ogf.org/dfdl/">
        <dfdl:format ref="default-dfdl-properties"
                     dfdl:documentFinalTerminatorCanBeMissing="yes" />
    </xs:appinfo>
</xs:annotation>



Parsing produced this error:



Attribute 'dfdl:documentFinalTerminatorCanBeMissing' is not allowed to appear in element 'dfdl:format'



The specification says it must appear on dfdl:format but Daffodil says it must not. Which is correct?



/Roger