Fixed a bug in the DOMInflator which made it fail in Firefox