HTML5 Parser for Other Languages

From RuntimeWiki

Jump to: navigation, search

This feature request is to add HTML5 parsing support for content other than HTML, where an alternate markup version of SVG (i.e., without XML and without namespaces) would be an obvious target.

Background

For the past 15 years, the HTML parsing algorithms shipping with browsers have tried to research and copy the intricate special rules that other (market-leading) browsers have implemented so that their browser would work well with existing Web content. Until the HTML5 spec came around, these parsing algorithms have never been written down.

(Note: the W3C did produce a complete spec for "XHTML" (HTML expressed in XML) but only some browsers implemented XHTML and only a small percentage of Web pages deliver XHTML content to browsers.)

HTML5 parser spec:

John Resig has blogged on the HTML5 parser:

Mozilla has added support into their daily builds:

Personal tools