You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Steve Lawrence (JIRA)" <ji...@apache.org> on 2019/06/24 17:10:00 UTC

[jira] [Reopened] (DAFFODIL-2163) False warning about unused dfdl:choiceBranchKey on direct dispatch array

     [ https://issues.apache.org/jira/browse/DAFFODIL-2163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Lawrence reopened DAFFODIL-2163:
--------------------------------------

I think this issue wasn't entirely resolved. Reopening. Found a case where the following results in an incorrect warning about unused elements:

{code:xml}
...
<xs:choice dfdl:choiceDispatchKey="...">
  <xs:sequence dfdl:choiceBranchKey="...">
    ...
  </xs:sequence>
  <xs:sequence dfdl:choiceBranchKey="...">
    ...
  </xs:sequence>
</xs:choice>
...
{code}

> False warning about unused dfdl:choiceBranchKey on direct dispatch array
> ------------------------------------------------------------------------
>
>                 Key: DAFFODIL-2163
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2163
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Front End
>            Reporter: Steve Lawrence
>            Assignee: Steve Lawrence
>            Priority: Major
>             Fix For: 2.4.0
>
>
> This seems potentially related to DAFFODIL-2162. That issue was resolved, but it now results in a warning about dfdl:choiceBranchKey property is unused. The tests clearly show that direct dispatch works so the branch key isn't actually usnused. Perhaps the property is being cached on something that we aren't looking at to see which properties have been used, or the property is being used in a way that isn't caching at all.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)