[jira] [Created] (DAFFODIL-2050) Line numbers missing in schema definition errors

2019-01-11 Thread Steve Lawrence (JIRA)
Steve Lawrence created DAFFODIL-2050: Summary: Line numbers missing in schema definition errors Key: DAFFODIL-2050 URL: https://issues.apache.org/jira/browse/DAFFODIL-2050 Project: Daffodil

[jira] [Resolved] (DAFFODIL-2044) Unexpected error on malformed config file

2019-01-11 Thread Josh Adams (JIRA)
[ https://issues.apache.org/jira/browse/DAFFODIL-2044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josh Adams resolved DAFFODIL-2044. -- Resolution: Fixed Assignee: Dave Thompson (was: Josh Adams) This has been fixed in

[GitHub] jadams-tresys closed pull request #162: Properly handle malformed binding files

2019-01-11 Thread GitBox
jadams-tresys closed pull request #162: Properly handle malformed binding files URL: https://github.com/apache/incubator-daffodil/pull/162 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this

[GitHub] jadams-tresys commented on issue #164: Avoid CircularDefinition error for appinfo

2019-01-11 Thread GitBox
jadams-tresys commented on issue #164: Avoid CircularDefinition error for appinfo URL: https://github.com/apache/incubator-daffodil/pull/164#issuecomment-453531867 Mike thought that there might be a similar case of avoiding OOLAG/LV calls for position in ElementBase, but I did not find

[GitHub] jadams-tresys opened a new pull request #164: Avoid CircularDefinition error for appinfo

2019-01-11 Thread GitBox
jadams-tresys opened a new pull request #164: Avoid CircularDefinition error for appinfo URL: https://github.com/apache/incubator-daffodil/pull/164 When we were detecting that an appinfo annotation did not have a source attribute we would try to show a schema definition warning.

[jira] [Resolved] (DAFFODIL-2021) Daffodil expressions for properties should not auto-coerce to property type. Test BC000.

2019-01-11 Thread Steve Lawrence (JIRA)
[ https://issues.apache.org/jira/browse/DAFFODIL-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Lawrence resolved DAFFODIL-2021. -- Resolution: Fixed Fix Version/s: 2.3.0 Fixed in commit 

[jira] [Resolved] (DAFFODIL-2043) fn:round-half-to-even returns decimal string

2019-01-11 Thread Steve Lawrence (JIRA)
[ https://issues.apache.org/jira/browse/DAFFODIL-2043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Lawrence resolved DAFFODIL-2043. -- Resolution: Fixed Fixed in commit a2f56a3f44d307a138fb7a4614f873120e186d63 >

[jira] [Resolved] (DAFFODIL-1044) DPath not finding obvious type errors involving constants at compile time

2019-01-11 Thread Steve Lawrence (JIRA)
[ https://issues.apache.org/jira/browse/DAFFODIL-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Lawrence resolved DAFFODIL-1044. -- Resolution: Fixed Fixed in commit a2f56a3f44d307a138fb7a4614f873120e186d63 > DPath

[GitHub] stevedlawrence closed pull request #159: Restrict coercion of a whole expression

2019-01-11 Thread GitBox
stevedlawrence closed pull request #159: Restrict coercion of a whole expression URL: https://github.com/apache/incubator-daffodil/pull/159 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this

Re: Output Line Numbers in Errors and Warnings?

2019-01-11 Thread Steve Lawrence
That's a bit surprising. Our diagnostics are definitely an area where alot of improvement is needed, but we're usually pretty good about outputting line numbers, especially for the missing property error. You probably just need to put 'lengthKind="implicit" in your dfdl:format tag to fix this

Re: Using DFDL to generate model, parser and generator?

2019-01-11 Thread Steve Lawrence
There's a few issues mentioned, I'll try to hit them all: Problem 1: Zero or more choice elements. DFDL only allows min/maxOccurs on xs:elements. To support zero or more choices, you need to wrap your choice in a complex element. So in your provided scheme, you might have something like this:

Output Line Numbers in Errors and Warnings?

2019-01-11 Thread Christofer Dutz
Hi, I am now trying to update my dfdl using the PCAP example … when running it in the debugger, I’m getting warnings and errors, unfortunately it’s only telling me the file name and not what element is missing an attribute. [error] Schema Definition Error: Property lengthKind is not defined.

[GitHub] stevedlawrence opened a new pull request #163: Fix performance issues with recent hexBinary changes

2019-01-11 Thread GitBox
stevedlawrence opened a new pull request #163: Fix performance issues with recent hexBinary changes URL: https://github.com/apache/incubator-daffodil/pull/163 Commit af489bc6ea modified the behavior of hexBinary parsing to effectively ignore byteOrder. It did this by no longer using the

Re: Using DFDL to generate model, parser and generator?

2019-01-11 Thread Christofer Dutz
Hi Steve, thanks for that ... that helped. I did quite a lot of refactoring and now it seems in general Daffofil is sort of happy on a syntactical level. Now I'm getting errors when using the command line debugger to parse some data. One problem I am having, is that I can have multiple