Fixes to support breaking pages served as application/xhtml+xml (Issue 6)
Fixes to support breaking pages served as application/xhtml+xml (Issue 6)

cyuan1791/minicart,jeffharrell/minicart,jeffharrell/minicart,cyuan1791/minicart,cyuan1791/minicart,Armen138/minicart,Armen138/minicart,Armen138/minicart,jeffharrell/minicart