extras/XMLParser: Fixed handling of <!DOCTYPE> tag