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/msg00082.html below:

Re: Lowercasing of tag/attribute names

On 7/9/07, James Graham <[EMAIL PROTECTED]> wrote:
>
> At the moment all element and attribute name comparisons relative to
> case in the original source document whereas, in HTML, names in the tree
> are lowercase regardless of the original source. Does the current setup
> make sense or should we compare names as they will appear in the DOM?
Be aware that in HTML5, there are two serialization formats: HTML5 and
XHTML5.  XHTML5 is case sensitive.

The Ruby version of test_sanitizer is a bit more explicit about
handling HTML5 vs XHTML5 vs "liberal" XHTML5.  I would have no problem
with you back-porting that to Python, and adjusting as appropriate.

- Sam Ruby

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