[jira] [Assigned] (DAFFODIL-2079) Unexpected exception with empty sequence as choice target

2019-04-04 Thread Josh Adams (JIRA)
[ https://issues.apache.org/jira/browse/DAFFODIL-2079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josh Adams reassigned DAFFODIL-2079: Assignee: Josh Adams > Unexpected exception with empty sequence as choice target >

[jira] [Created] (DAFFODIL-2104) TDML runner - throws exception if test has neither nor

2019-04-04 Thread Michael Beckerle (JIRA)
Michael Beckerle created DAFFODIL-2104: -- Summary: TDML runner - throws exception if test has neither nor Key: DAFFODIL-2104 URL: https://issues.apache.org/jira/browse/DAFFODIL-2104 Project:

Re: Further design difficulties with TypeValueCalculators

2019-04-04 Thread Beckerle, Mike
The type stMinlength1 is clearly not suitable for many kinds of reuse. Not all top level type defs will be suitable for use as a rep type because they are just incompletely specified. As you point out here, if used without supplying a different lengthKind it will SDE. This is ok. It is just a

Re: Further design difficulties with TypeValueCalculators

2019-04-04 Thread Beckerle, Mike
Ok. I understand this better I think. I believe you are correct, we need to answer the questions we have without instantiating the type. I.e., need to move functionality onto the factory. Or at least we need to try that. If it proves to be very difficult without lots of refactoring then we'll

Re: Further design difficulties with TypeValueCalculators

2019-04-04 Thread Sloane, Brandon
The main issue is that, under the current implementation, in order to access information about a simpleType, we need to instantiate said type. If instantiating a type in the global context throws an error, then we cannot inspect it to determine if we needed the global instance in the first

Re: Errors in existing test schemas

2019-04-04 Thread Beckerle, Mike
Correct with one caveat. If the types are unused then sure, delete. But could they be illegal like this on purpose for negative tests checking for those diagnostics? If those diagnostics aren't being captured by oolag and saved then that could cause the tests to be failing now. Get Outlook

Errors in existing test schemas

2019-04-04 Thread Sloane, Brandon
While working on adding enum support, I seem to have broken a large numbers of existing tests. While investigating, I ran into the following type definition: 4218 4219 4220 4221 4222 in section05/facets/Facets.tdml Which is triggering an error: Schema

Further design difficulties with TypeValueCalculators

2019-04-04 Thread Sloane, Brandon
I spoke with Mike about this issue the other day, but after more work on the implementation, it appears that the issue is more difficult that we had realized. The enum support proposal allows simpleTypes to define mappings between representation values and logical values. Further, this

[jira] [Assigned] (DAFFODIL-2064) CLI XML text output incorrect with empty complex elements.

2019-04-04 Thread Josh Adams (JIRA)
[ https://issues.apache.org/jira/browse/DAFFODIL-2064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josh Adams reassigned DAFFODIL-2064: Assignee: Josh Adams > CLI XML text output incorrect with empty complex elements. >

[jira] [Resolved] (DAFFODIL-2079) Unexpected exception with empty sequence as choice target

2019-04-04 Thread Josh Adams (JIRA)
[ https://issues.apache.org/jira/browse/DAFFODIL-2079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josh Adams resolved DAFFODIL-2079. -- Resolution: Duplicate Fix Version/s: 2.3.0 This was fixed with the changes made to

[jira] [Updated] (DAFFODIL-2086) Daffodil CLI does not run in a Git For Windows shell

2019-04-04 Thread Steve Lawrence (JIRA)
[ https://issues.apache.org/jira/browse/DAFFODIL-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Lawrence updated DAFFODIL-2086: - Fix Version/s: (was: 2.3.0) 2.4.0 > Daffodil CLI does not run