12 Sep
2000
12 Sep
'00
4:55 p.m.
[/F]
stoopid question: why the heck is xmllib using "RuntimeError" to flag XML syntax errors?
Because it's too cheap to declare its own exception?
raise RuntimeError, 'Syntax error at line %d: %s' % (self.lineno, message)
what's wrong with "SyntaxError"?
That would be the wrong exception unless it's parsing Python source code. --Guido van Rossum (home page: http://www.pythonlabs.com/~guido/)