Issues

ZF-11376: XHTML document detection fails when beginning with XML declaration

Description

Test paragraph.

Comments

Attached reproducing unit test (ZF-11376_test.patch) and a potential fix (ZF-11376_fix.patch). This only covers the XHTML case...should this also be implemented for HTML case? Not that I think anyone in their right mind would (or should) give a HTML3/4 document an XML declaration :P

Fixed in trunk (1.12.0): r24794