> Do you think it would be a good idea to call such a function before regular parsing ? The usual rule with bad data is
(a) prevent it happening if you can
(b) repair it only if you can't prevent it
happening
Putting a repair operation into the regular process has the
disadvantage that it reduces the urgency of fixing the root cause of the
problem.
Michael Kay
http://www.saxonica.com/
|