A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mail-archive.com/html5lib-discuss@googlegroups.com/msg00130.html below:

Re: Tokenizer Regression in Ruby

On 9/9/07, Thomas Broyer <[EMAIL PROTECTED]> wrote:
> the line after, the python version reads "if entityName[-1] != ';'"
> while the ruby version reads "if char_stack[-1] ! ";""; could the bug
> be here? That's the only difference I can see.
That seems like the bug. It's not about the charStack there but
whether the entityName actually ends with a ";" or not. Still doesn't
explain why the port doesn't fail the testcases though... Would there
be some other way to exploit this bug into a testcase as it's not
unlikely others will make them. (When I wrote the Python code I made
exactly the same mistake initially.)


-- 
 Anne van Kesteren
 <http://www.opera.com/>
 <http://annevankesteren.nl/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"html5lib-discuss" group.
 To post to this group, send email to html5lib-discuss@googlegroups.com
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.com/group/html5lib-discuss?hl=en-GB
-~----------~----~----~----~------~----~------~--~---


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4