[
https://issues.apache.org/jira/browse/DAFFODIL-1928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16490352#comment-16490352
]
Russ Williams commented on DAFFODIL-1928:
-----------------------------------------
The scala-xml 1.0.4 bundle is coming from the use of scala-compiler 2.11.8
([https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.11.8/scala-compiler-2.11.8.pom|https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.11.8/scala-compiler-2.11.8.pom).]
). It's 1.0.5 in 2.11.9, 1.0.6 for 2.12.* and 2.13.M1/M2/M3, and is no longer
a dependency in 2.13.M4.
But I can't see anything using 1.0.4 in the Daffodil runtime classpath (except
for in the Eclipse .classpath files), so I think it's being fetched by SBT but
not used.
> 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: Russ Williams
> Priority: Major
> Fix For: 2.2.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
(v7.6.3#76005)