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

[jira] [Closed] (DAFFODIL-1101) MissingFormatArgumentException: Format specifier 's'

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

Dave Thompson closed DAFFODIL-1101.
-----------------------------------

Verified the specified commit (commit 494ee9248568ff9d9ad6be017fa0f941f22afca9) is included in the latest pull from the incubator-daffodil repository.

Verified the incubator-daffodil sbt test suites execute successfully.

Modified the two specified sbt tests, removing namespace from the e1 and e2 element tags, to verify that the test will fail with an exception.

> MissingFormatArgumentException: Format specifier 's'
> ----------------------------------------------------
>
>                 Key: DAFFODIL-1101
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1101
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Back End, General
>            Reporter: Jessie Chab
>            Priority: Major
>             Fix For: 3.0.0
>
>
> When creating tests for the namespace-uri() function, I somehow managed to trigger an error condition that caused this exception:
> [error] Test edu.illinois.ncsa.daffodil.section23.dfdl_expressions.TestDFDLExpressions.test_namespace_uri_01 failed: edu.illinois.ncsa.daffodil.exceptions.Abort: why are you comparing two things that aren't the same type even?
> [error] edu.illinois.ncsa.daffodil.exceptions.Assert$.abort(Assert.scala:95)
> I had this test working at one point so I'm not sure how I got to this state. I was amused by the exception but figured we should either revisit the wording or figure out how it was triggered and make sure that can't happen anymore.
> See test namespace_uri_01 in the following files:
> daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section23/dfdl_functions/Functions.tdml
> daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section23/dfdl_functions/first_schema.dfdl.xsd
> daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section23/dfdl_functions/home_schema.dfdl.xsd
> daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section23/dfdl_functions/second_schema.dfdl.xsd
> daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/TestDFDLExpressionsDebug.scala
> daffodil-test/src/test/scala/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/TestDFDLExpressions.scala



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