Opened 9 years ago

Closed 9 years ago

#195 closed enhancement (fixed)

error handler for XMI reader

Reported by: vadim.godunko Owned by:
Priority: major Milestone: 0.3.0
Component: Matreshka - AMF Version:
Keywords: Cc:


XMI reader should be extended to report errors not to standard error stream, but to user defined error handler. There are two kinds of possible errors:

  • XML stream errors, they can be just redirected to handler;
  • XMI logical errors.

Each error handling subprogram should have parameter to control future loading, to allow application to stop loading or to continue loading even when errors occurs.

Change History (4)

comment:1 by vadim.godunko, 9 years ago

In [2867]:

Introduce XMI level error handler, provide its default implementation
and subprograms to set error handler for SAX handler.

Refs #195.

comment:2 by vadim.godunko, 9 years ago

In [2869]:

Add suppression of duplicate messages.

Refs #195.

comment:3 by vadim.godunko, 9 years ago

In [2870]:

Use error handler to report XMI errors.

Refs #195.

comment:4 by vadim.godunko, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.