[ 
https://issues.apache.org/jira/browse/DAFFODIL-2784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17694608#comment-17694608
 ] 

Steve Lawrence commented on DAFFODIL-2784:
------------------------------------------

I think this has the same issue as DAFFODIL-2780, where there is a type, 
*dfdl:repValue* should be {*}dfdlx:repValues{*}, so plural instead of singlar.

We should be getting a warning that the property is ignored, which would make 
this more obvious. DAFFODIL-2798 is the issue get the typo.

[~olabusayo], can you confirm that fixing the typo resolves the issue?

> 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
>            Priority: Major
>             Fix For: 3.5.0
>
>         Attachments: csvDetailed.dfdl.xsd, simpleCSVDetailed.csv, 
> simpleCSVDetailed.xml
>
>
> 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)

Reply via email to