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

Michael Beckerle updated DAFFODIL-1420:
---------------------------------------
    Labels: beginner  (was: )

> Error when unparsing an apostrophe (scala XMLEventReader bug)
> -------------------------------------------------------------
>
>                 Key: DAFFODIL-1420
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1420
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Clean Ups, General, Libraries, Unparsing
>    Affects Versions: 2.0.0
>            Reporter: Jessie Chab
>            Priority: Major
>              Labels: beginner
>
> This is an issue with scala's XMLEventReader. This bug has been reported and 
> can be tracked here: https://github.com/scala/scala-xml/issues/72 
> Once this has been resolved on the scala side, we need to verify that the 
> functionality works within Daffodil.
> When attempting to unparse an apostrophe, the following error is thrown:
> {code}
> [error] Test 
> edu.illinois.ncsa.daffodil.section00.general.TestUnparserGeneral.test_apostrophe_01
>  failed: edu.illinois.ncsa.daffodil.tdml.TDMLException: Unexpected data ' ' 
> was created.
> [error]     at 
> edu.illinois.ncsa.daffodil.tdml.VerifyTestCase$.verifyTextData(TDMLRunner.scala:993)
> [error]     at 
> edu.illinois.ncsa.daffodil.tdml.UnparserTestCase.runUnparserExpectSuccess(TDMLRunner.scala:787)
> [error]     at 
> edu.illinois.ncsa.daffodil.tdml.UnparserTestCase$$anonfun$runProcessor$9.apply(TDMLRunner.scala:752)
> [error]     at 
> edu.illinois.ncsa.daffodil.tdml.UnparserTestCase$$anonfun$runProcessor$9.apply(TDMLRunner.scala:751)
> [error]     at scala.util.Either$RightProjection.foreach(Either.scala:469)
> [error]     at 
> edu.illinois.ncsa.daffodil.tdml.UnparserTestCase.runProcessor(TDMLRunner.scala:751)
> [error]     at 
> edu.illinois.ncsa.daffodil.tdml.TestCase.run(TDMLRunner.scala:536)
> [error]     at 
> edu.illinois.ncsa.daffodil.tdml.DFDLTestSuite.runOneTestWithDataVolumes(TDMLRunner.scala:318)
> [error]     at 
> edu.illinois.ncsa.daffodil.tdml.DFDLTestSuite.runOneTest(TDMLRunner.scala:306)
> [error]     at 
> edu.illinois.ncsa.daffodil.tdml.Runner.runOneTest(RunnerFactory.scala:48)
> [error]     at 
> edu.illinois.ncsa.daffodil.section00.general.TestUnparserGeneral.test_apostrophe_01(TestUnparserGeneral.scala:61)
> {code}
> See test:
> apostrophe_01
> In the following files:
> daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section00/general/testUnparserGeneral.tdml
> daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section00/general/TestUnparserGeneralDebug.scala
> daffodil-test/src/test/scala/edu/illinois/ncsa/daffodil/section00/general/TestUnparserGeneral.scala



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to