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

inputvalueCalc on direct dispatch choice branch is too verbose

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 3.5.0
    • Diagnostics

    Description

      If a branch of a direct dispatch choice has the dfdl:inputValueCalcProperty, you get an error that contains the SSCD, which for a very deeply nested choice is not all that short. For example:

      [error] Schema Definition Error: Branch of choice foo::LocalComplexTypeDef::sequence[1]::foo::LocalComplexTypeDef::sequence[1]::choice[2]::baz cannot have the dfdl:inputValueCalc property.

      The SchemaContext provides enough information to figure out where the offending element is, so this provides no extra information and is too verbose. We should just remove the sscd from this error.

      Attachments

        Activity

          People

            mikemcgann Mike McGann
            slawrence Steve Lawrence
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: