I'm using an older version of the NITF schema from github (attached) and can 
parse the attached NITF file successfully.  On unparse I get the circular 
deadlock error below.  I'm using Daffodil 3.5.0.

How can I determine whether this is an issue with the data itself or a bug in 
Daffodil as I see other open issues regarding circular deadlocks?


Runtime Schema Definition Error: Expressions/Unparsers are circularly 
deadlocked (mutually defined):  - target length for Data expr 
<EvaluatableExpression eName='DataExtensionSegment/Data' expr='{ 
../../Header/DataExtensionSegmentLengths[dfdl:occursIndex()]/DataLength }' />  
- target length for DESUserDefinedData expr <EvaluatableExpression 
eName='DataExtensionSegment/Data/DESUserDefinedData' expr='{ 
../../../Header/DataExtensionSegmentLengths[dfdl:occursIndex()]/DataLength }' 
/>  - SuspendableExpression(DataLength, expr={ 
dfdl:valueLength(../../../DataExtensionSegment[dfdl:occursIndex()]/Data, 
'bytes') }) Schema context: Data Location line 781 column 16 in nitf.dfdl.xsd 
Data location was preceding byte 1074

 Thank you!


Lara Blatchford
Principal Engineer
240-341-1421
[cid:image001.jpg@01DA5F52.4D163930]

Attachment: issue_2380_Trail_shp_in_DES.ntf
Description: issue_2380_Trail_shp_in_DES.ntf

<<attachment: schemas.zip>>

Reply via email to