diff --git a/std/php/_std/haxe/xml/Parser.hx b/std/php/_std/haxe/xml/Parser.hx index 216a96ec81f..ed0fa238bfc 100644 --- a/std/php/_std/haxe/xml/Parser.hx +++ b/std/php/_std/haxe/xml/Parser.hx @@ -175,9 +175,8 @@ class Parser { p += 8; state = S.DOCTYPE; start = p + 1; - } else if (str.fastCodeAt(p + 1) != '-'.code || str.fastCodeAt(p + 2) != '-'.code) - throw new XmlParserException("Expected