Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn about Multiple Child Elements with Same Name #1321

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Oct 11, 2024

  1. Warn about Multiple Child Elements with Same Name

    - currently when we have multiple child elements in a sequence with the same name, daffodil allows it, while choice branches return a UPA error and unordered sequences return an SDE. We want to generate a warning when this happens in an ordered sequence so we refactor code to warn if the local names are the same. This has the effect of warning whether namespaces are supported or unsupported
    - we group using elementChildren instead of groupMembers since we want to consider all children since regardless of the model groups, their immediate children end up as siblings in the infoset and can cause potential ambiguities for some infoset types
    - add test to check we get UPA error with choices
    - add tests to exercise new warning (same/different namespaces, but same local name)
    
    DAFFODIL-2736
    olabusayoT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    97e98bc View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2024

  1. fixup! Warn about Multiple Child Elements with Same Name

    - remove groupChildrenBy
    
    DAFFODIL-2736
    olabusayoT committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    d6153d1 View commit details
    Browse the repository at this point in the history