You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Olabusayo Kilo (Jira)" <ji...@apache.org> on 2023/02/02 21:19:00 UTC

[jira] [Created] (DAFFODIL-2784) String repType to String enumeration doesn't work

Olabusayo Kilo created DAFFODIL-2784:
----------------------------------------

             Summary: String repType to String enumeration doesn't work
                 Key: DAFFODIL-2784
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2784
             Project: Daffodil
          Issue Type: Bug
          Components: Back End
    Affects Versions: 3.4.0
            Reporter: Olabusayo Kilo
             Fix For: 3.5.0


While this might be unsupported, the bigger issue is it doesn't report an error, so you know it doesn't work. The repType is just inserted into the data and the enumeration mapping is ignored.

This is further illustrated when you have a checkConstraints on either the enum simpleType or the element that uses it. The checkcontraint looks for the enum value but since the mapping failed, the checkConstraint fails as well

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)