For mailing list - This issue is resolved.
This was a bug at one point on the 2.3.0-SNAPSHOT branch, but has been fixed for 2.4.0. You can confirm version being used with 'daffodil --version'. ________________________________ From: Beckerle, Mike <[email protected]> Sent: Tuesday, July 16, 2019 2:12 PM To: [email protected] <[email protected]> Subject: Re: Why no line numbers in error reports? I created ticket https://issues.apache.org/jira/browse/DAFFODIL-2184 This is definitely a serious problem. I'll look into it further. ________________________________ From: Costello, Roger L. <[email protected]> Sent: Tuesday, July 16, 2019 1:26:41 PM To: [email protected] Subject: Re: Why no line numbers in error reports? [error] Parse Error: Assertion failed: { . eq 9 } failed Schema context: HiddenLabel Location in test.dfdl.xsd Data location was preceding byte 1 Eek! No line number! From: Beckerle, Mike <[email protected]> Sent: Tuesday, July 16, 2019 1:13 PM To: [email protected] Subject: [EXT] Re: Why no line numbers in error reports? I'm not able to reproduce this. daffodil parse -s ~/dataiti/git/DFDLSchemas/CSV/src/main/resources/com/tresys/csv/xsd/csv.dfdl.xsd ~/dataiti/git/DFDLSchemas/CSV/src/test/resources/com/tresys/csv/data/simpleCSV.csv [error] Schema Definition Error: Error loading schema due to org.xml.sax.SAXParseException; systemId: file:/home/mbeckerle/dataiti/git/DFDLSchemas/CSV/src/main/resources/com/tresys/csv/xsd/csv.dfdl.xsd; lineNumber: 59; columnNumber: 81; src-resolve: Cannot resolve the name 'ex:string' to a(n) 'type definition' component. Schema context: file:/home/mbeckerle/dataiti/git/DFDLSchemas/CSV/src/main/resources/com/tresys/csv/xsd/csv.dfdl.xsd Location in file:/home/mbeckerle/dataiti/git/DFDLSchemas/CSV/src/main/resources/com/tresys/csv/xsd/csv.dfdl.xsd It has lineNumber: 59; columnNumber: 81 for the error. Can you send examples of the error message that does not have the line/col information? ________________________________ From: Beckerle, Mike <[email protected]<mailto:[email protected]>> Sent: Tuesday, July 16, 2019 1:01:23 PM To: [email protected]<mailto:[email protected]> Subject: Re: Why no line numbers in error reports? Hmmm. I will try it from command line to reproduce. We did change diagnostic messages somewhat, and I do see line numbers in error messages when I run TDML tests from eclipse. I'll retry from command line. ________________________________ From: Costello, Roger L. <[email protected]<mailto:[email protected]>> Sent: Tuesday, July 16, 2019 12:45:24 PM To: [email protected]<mailto:[email protected]> Subject: Why no line numbers in error reports? Hello DFDL community, I have a large DFDL schema that I am trying to debug. It has a lot of errors. Unfortunately, the error messages don't include line numbers, which makes it very difficult to do debugging. Previous versions of Daffodil included line numbers in error reports. Why doesn't the latest version of Daffodil include line numbers in error reports? /Roger
