I'll point out again that I handle bad XML (not missing tags, but a lot
of other errors) in BottomFeeder - and I have not
-- written a custom parser
-- do not use Regex
-- do not use the Universal Parser
There are a lot of wild assumptions floating around as to what has to be
done in order to handle errors in XML - I spent a few minutes on this
problem many months ago, and haven't so much as looked at that code since.
I use the stock parser that ships with VisualWorks (the tool I use to
build BottomFeeder) - and I simply subclassed the parser and overrode a
few methods. Generally speaking, that meant changing places the parser
raised an error and bailed to error logging and continuing.
I spent an aggregate total of maybe 15 minutes on this entire problem,
broken up into a handful of 3-5 minute sessions over the course of a few
months.....