Added support for empty system id in doctype declaration