arosien opened a new issue, #931:
URL: https://github.com/apache/daffodil-vscode/issues/931

   For example, if a required sub-schema isn't loaded, like from the classpath, 
you get a popup like:
   ![Screen Shot 2024-01-10 at 9 32 29 
AM](https://github.com/apache/daffodil-vscode/assets/31163/22eec21d-68c7-4a23-a5e5-23ab6a75ff0a)
   
   I understand we don't want to directly return stack traces, but we could 
produce better messages. In this particular case we have the actual error 
message from Daffodil that is useful:
   ```
   org.apache.daffodil.debugger.dap.Compiler$CompilationFailed: Schema 
Definition Error: Error loading schema due to org.xml.sax.SAXParseException; 
DaffodilXMLLoader: Unable to resolve 
schemaLocation='com/owlcyberdefense/dfdl/xsd/basicByteBinary.dfdl.xsd'.
   Schema context: 
file:/Users/arosien/nteligen/PCAP/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd
 Location in 
file:/Users/arosien/nteligen/PCAP/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd
   ```


-- 
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]

Reply via email to