[
https://issues.apache.org/jira/browse/DAFFODIL-1928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dave Thompson closed DAFFODIL-1928.
-----------------------------------
Verified the specified commit (commit 0c6d14f4e80134460bb3dd42ae204862b9e511a8)
is included in the latest pull from the incubator-daffodil repository.
Verified the all affected sbt test suites execute successfully including the
modified tests.
Verified the nightly test schemas compile and save successfully.
Verified the nightly test suite executes successfully.
> TDMLRunner removes apostrophes from expected when ' is used in infoset
> ---------------------------------------------------------------------------
>
> Key: DAFFODIL-1928
> URL: https://issues.apache.org/jira/browse/DAFFODIL-1928
> Project: Daffodil
> Issue Type: Bug
> Components: TDML Runner
> Affects Versions: 2.1.0
> Reporter: Dave Thompson
> Assignee: Mike Beckerle
> Priority: Minor
> Fix For: 3.1.0
>
>
> TDMLRunner removes apostrophes from expected when ' is used in infoset.
> When the test is executed the apostrophes are stripped from the expected
> result which cause the comparison to fail.
> *Infoset in test:*
> <infoset>
> <dfdlInfoset>
> <tns:record>
> <tns:item>1</tns:item>
> <tns:item>Column 'Number' Two</tns:item>
> <tns:item>3</tns:item>
> <tns:item>4</tns:item>
> <tns:item>5</tns:item>
> </tns:record>
> </dfdlInfoset>
> </infoset>
> *Test Result:*
> [error] Test
> org.apache.daffodil.section07.escapeScheme.TestEscapeSchemeDebug.test_escBlkAposRemoved
> failed: java.lang.Exception:
> [error] Comparison failed.
> [error] Expected
> [error] <record><item>1</item><item>Column Number
> Two</item><item>3</item><item>4</item><item>5</item></record>
> [error] Actual
> [error] <record><item>1</item><item>Column 'Number'
> Two</item><item>3</item><item>4</item><item>5</item></record>
> [error] Differences were (path, expected, actual):
> [error] (record/item[2],'Column Number Two','Column 'Number' Two'), took
> 2.114 sec
> *See daffodil-tdml Debug Test Case:*
> org.apache.daffodil.tdml.TestTDMLRunner3.test_escBlkAposRemoved
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)