I'm not sure, what was the reason of this, security concerns maybe?
In this case I can change it as an option.
But we want this parser to parse correctly formed XML documents.
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
- if tag_name.has("xml") then return new XMLError(st_loc, "Forbidden keyword xml in Processing Instruction")
var cont_st = pos
var cont_end = ignore_until("?>")
if cont_end == -1 then
var cont_st = pos
var cont_end = ignore_until("?>")
if cont_end == -1 then