[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Michael Kay" <mike@s...>
  • To: "'COUTHURES Alain'" <alain.couthures@a...>,"'Fraser Goffin'" <goffinf@g...>
  • Date: Tue, 30 Sep 2008 11:42:10 +0100


 > 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/
 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member