Serializations

From html4all

Jump to: navigation, search

We expect HTML5 to have two different serializations: a legacy text/html serialization and an XML serialization. In order to ensure the closest compatibility between the two serializations and ease the transition for authors who want to migrate from one serializations to the other, we should try to minimize the differences. By specifying the markup and much of the DOM within the HTML5 recommendation, it should be possible to reduce the number of difficulties authors will encounter when moving between serializations.

Issues with serialization differences

  • Implied tbody element in text/html
  • Implied colgroup when specifying col elements in text/html
  • DOM APIs
* document.write()
* createElementNS()
* createElement()
* other NS APIs
Personal tools