Skip to content

Unparser forward reference variables (direction property on dfdl:defineVariable) #22

@smhdfdl

Description

@smhdfdl

Scenario in the PCAP schema that uses several dfdl:outputValueCalc. To simplify the expressions, would like to use a variable with a value set by dfdl:newVariableInstance. The problem is that the rules for variables are different from those for dfdl:outputValueCalc, specifically variables can not refer forwards (because they are evaluated on both parse and unparse) whereas that is the point of dfdl:outputValueCalc. To ease this would require a change to the spec. Candidate for 2.0. Daffodil to implement as as an experimental feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DFDL 2.0For issues associated with DFDL v2.0 (next major revision)experimentalin useindicates implemented and feature being used

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions