1.8.0 creating invalid tag/attribute when loading the library

Description

Using XHTML strict documents and all the related headers including xml declaration.
In FF 14.0.1 and Firebug 1.10.2 I get two errors. However they do not hinder code execution, so this is low priority.