Seeded defect in a throwaway copy of HEAD: the prolog scan no longer skips a comment, so a file that opens with a comment has no root.
FAIL opens. a file whose first element is named svg was refused: 3600 of 4000. f100.svg is not an SVG: its root element is not named svg; f1005.svg is not an SVG: its root element is not named svg; f1006.svg is not an SVG: its root element is not named svg; f1007.svg is not an SVG: it

Second red run, after the first fix round. The defect is the check as it was before: a quote mark inside a processing instruction in the doctype subset, and a UTF-16 file, are refused.
FAIL opens. a file whose first element is named svg was refused: 7200 of 11200. f10000.svg is not an SVG: its root element is not named svg; f10001.svg is not an SVG: its root element is not named svg; f10002.svg is not an SVG: its root element is not named svg; f10003.svg is not an S
