You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2020/08/05 18:23:00 UTC

[jira] [Updated] (DAFFODIL-844) defineEscapeScheme names must be unique

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

Mike Beckerle updated DAFFODIL-844:
-----------------------------------
    Labels: beginner  (was: )

> defineEscapeScheme names must be unique
> ---------------------------------------
>
>                 Key: DAFFODIL-844
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-844
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Front End, General
>    Affects Versions: s11
>            Reporter: Elizabeth Fahl
>            Priority: Major
>              Labels: beginner
>
> The spec states - "If multiple dfdl:defineEscapeScheme definitions have the same 'name' attribute, in the same namespace, then it is a schema definition error."
> I created a test with 2 defineEscapeSchemes having the same name attribute within the same defineSchema but the test does not throw an error as expected.
> Test is escapeSchemeNonUnique in the files:
> daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section07/escapeScheme/escapeScheme.tdml
> daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section07/escapeScheme/TestEscapeSchemeDebug.scala



--
This message was sent by Atlassian Jira
(v8.3.4#803005)