[Imps] i18n message discussion

James Graham jg307 at cam.ac.uk
Mon Jan 15 03:53:47 PST 2007


Anne van Kesteren wrote:
> On Mon, 15 Jan 2007 09:39:26 +0100, Sam Ruby <rubys at intertwingly.net>  
> wrote:
>> Typical error in html5lib:
>>
>>    self.parser.parseError(_("Unexpected end of file. Expected end "
>>      u"tag (" + self.tree.openElements[1].name + u") first."))
>>
>> Typical error in feedvalidator:
>>
>>    self.log(UndefinedNamedEntity({'value':name}))
> 
> I agree the latter is a lot better. It's not entirely clear how to do this  
> though. Everytime you emit a parse error per the specification it's quite  
> different and currently we have the ability to make the error messages as  
> accurate as possible for every situation. I'd be happy with a more  
> concrete proposal on how to do this though.

Well with enough parameters to the class it shouldn't be impossible.

Also, I've just set up a google groups group/mailing list for html5lib specific 
issues such as these; html5lib-discuss at googlegroups.com - see 
http://groups.google.com/group/html5lib-discuss/topics


-- 
"Eternity's a terrible thought. I mean, where's it all going to end?"
  -- Tom Stoppard, Rosencrantz and Guildenstern are Dead



More information about the Implementors mailing list