diff --git a/HTMLKit/HTMLDocumentType.m b/HTMLKit/HTMLDocumentType.m
index e63fd16..9ea0708 100644
--- a/HTMLKit/HTMLDocumentType.m
+++ b/HTMLKit/HTMLDocumentType.m
@@ -108,7 +108,6 @@ NS_INLINE BOOL nilOrEqual(id first, id second) {
}
}
-#warning Check "iframe srcdoc"
if ([_publicIdentifier hasPrefixIgnoringCase:@"-//W3C//DTD XHTML 1.0 Frameset//"] ||
[_publicIdentifier hasPrefixIgnoringCase:@"-//W3C//DTD XHTML 1.0 Transitional//"]) {
return HTMLQuirksModeLimitedQuirks;
diff --git a/HTMLKit/HTMLParser.m b/HTMLKit/HTMLParser.m
index 42fe13c..e187069 100644
--- a/HTMLKit/HTMLParser.m
+++ b/HTMLKit/HTMLParser.m
@@ -684,7 +684,8 @@
break;
}
-#warning Check "iframe srcdoc"
+ [self emitParseError:@"Expected a DOCTYPE but got %@", token];
+ _document.quirksMode = HTMLQuirksModeQuirks;
[self switchInsertionMode:HTMLInsertionModeBeforeHTML];
[self reprocessToken:token];
}