Opened 13 years ago

Closed 5 years ago

#977 closed enhancement (fixed)

make SSAX raise a proper condition when encountering a parse error instead of calling error

Reported by: Christian Kellermann Owned by: felix winkelmann
Priority: not urgent at all Milestone: someday
Component: extensions Version: 4.8.x
Keywords: Cc:
Estimated difficulty: easy

Description

Attached is a patch that implements this and signals a condition of type '(ssax parse-error) which should make it easier to catch these.

Attachments (2)

parse-error.diff (581 bytes ) - added by Christian Kellermann 13 years ago.
raise a condition instead of calling error directly
ssax-parser-error.diff (675 bytes ) - added by Christian Kellermann 13 years ago.
better conditions for parser-error

Download all attachments as: .zip

Change History (6)

by Christian Kellermann, 13 years ago

Attachment: parse-error.diff added

raise a condition instead of calling error directly

by Christian Kellermann, 13 years ago

Attachment: ssax-parser-error.diff added

better conditions for parser-error

comment:1 by Christian Kellermann, 13 years ago

I have attached a better version of the parser-error condition. see ssax-parser-error.diff.

comment:2 by sjamaan, 9 years ago

Estimated difficulty: easy

comment:3 by felix winkelmann, 5 years ago

Status: newaccepted

comment:4 by felix winkelmann, 5 years ago

Resolution: fixed
Status: acceptedclosed

already fixed for C5

Note: See TracTickets for help on using tickets.