stevedlawrence opened a new pull request #216: Do not abort when an 
import/includes fails
URL: https://github.com/apache/incubator-daffodil/pull/216
 
 
   When using XML Catalogs, it's very easy for import/includes to resolve
   to URI's that do not exist. This results in an IOException when trying
   to open the stream. There are also other cases related to IO that could
   causing opening of the stream to fail. When these failures happen, we
   currently abort. This is wrong, since these exception are expected to be
   able to happen.
   
   So instead of aborting with an assert when there's an exception, we
   should instead just let any exceptions from opening the stream bubble
   up. The XML Catalog Resolver handles exceptions correctly, and Daffodil
   handles those failures and creates a helpful SDE about what stream it
   tried to open and why it failed.
   
   DAFFODIL-2126

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to