JeremyYao commented on issue #974: URL: https://github.com/apache/daffodil-vscode/issues/974#issuecomment-2698420246
### How to Replicate (Left over data message) 1. Download the following zip file and use the contents of the file as your sampleWorkspace: [sampleWorkspace_974_left_over_data.zip](https://github.com/user-attachments/files/19075082/sampleWorkspace_974_left_over_data.zip) 2. Once extracted and mounted as your sampleWorkspace, navigate to the folder in a terminal and enter `daffodil parse --schema .\test.dfdl.xsd .\test.txt`. You should notice that daffodil will output the following error message. ```PowerShell PS C:\Users\jeremy.yao\repos\sampleWorkspace> daffodil parse --schema .\test.dfdl.xsd .\test.txt <?xml version="1.0" encoding="UTF-8"?> <input> <label>According to all known laws of aviation, there is no way a bee should be able to fly</label> <colon>:</colon> <message> Its wings are too </message> </input> [error] Left over data. Consumed 840 bit(s) with at least 405840 bit(s) remaining. Left over data (Hex) starting at byte 106 is: (0x736d616c6c20746f...) Left over data (UTF-8) starting at byte 106 is: (small?to...) ``` 4. Run the 974Test_1 run and debug configuration. Note: This configuration uses test.dfdl.xsd for its DFDL schema and test.txt as its input file.  5. Click on continue (or step through the file if you want)  6. Notice that after completing the debugging, no warning message pops up  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
