Re: [xml] enhancing the error handling API



Daniel Veillard wrote:

  You can have per parser context, I would keep that. For everything
else at least the signature of an error callback will be unified.
  The thing which annoys me the most with your mail is:
      - it doesn't suggest anything
      - the exact same points can be raised with the existing infrastructure
  So what's the point ?

sorry if it didn't sound constructive. I meant to imply context specific
error handler signatures, something like this:

void document_parse_error(document *, position, error_code);
void xpath_parse_error(position, error_code);

etc.,

but I (now) understand that even in xpath expressions you may need
references to a document. Just to clarify my original point...

Stefan







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]