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

Allow inputValueCalc to apear in a hidden group

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.8.0
    • Front End
    • None

    Description

      Elements in a hidden group have a restriction that they must define dfdl:outputValueCalc, a default value, or are optional. This is necessary so that they can be unparsed without appearing in the infoset.

      It might also be useful to allow dfdl:inputValueCalc to appear in a hidden group. It seems a bit odd since we would calculate an element only to not include it in the infoset, but it could be useful as an interim calculation for another non-hidden inputValueCalc.

      On alternative to a hidden IVC is use a variable, but in some cases infoset paths/elements are easier to use since you don't have to worry about new variable instances or varable scoping.

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            slawrence Steve Lawrence
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment