You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified that I am running the latest version of the EcoreNetto
I have searched open and closed issues to ensure it has not already been reported
Description
Summary:ECoreParser.ParseXml and Resource.Load perform file I/O and XML parsing with no try/catch, so missing files and malformed XML bubble up as raw framework exceptions with no context.
Proposed solution: Wrap I/O and XML loading, log with context, and either rethrow a domain-specific exception or record a diagnostic (B3). Ensure the documented FileNotFoundException behavior is actually produced.
Acceptance criteria:
Missing-file and malformed-XML inputs produce a clear, documented error.
Prerequisites
Description
ECoreParser.ParseXmlandResource.Loadperform file I/O and XML parsing with no try/catch, so missing files and malformed XML bubble up as raw framework exceptions with no context.ECoreNetto/ECoreParser.cs:78-103,ECoreNetto/Resource/Resource.cs:308-321FileNotFoundExceptionbehavior is actually produced.