stevedlawrence commented on issue #974: URL: https://github.com/apache/daffodil-vscode/issues/974#issuecomment-2715511078
I don't think I know enough about VS Code to know what the best way to handle the message. I imagine if it was passed back to the extension then you could do some fancier things like provide an option to open the data editor with the cursor pointed to where the parse stopped. But whether or not thats really needed is up to you. And since you have the data editor evailable, outputting following byte information seems less important. A user can also pop open the editor and jump to the bit position and look at it that way. I'll add one thing, that if you do log it instead of passing it back to the extension, you might do it as an error. Daffodil used to treat left over data as a warning. But most users expect a schema to consume the entire data, and wanted a error when that doesn't happen, so we now output it as an error. -- 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]
