Updated MarkupErrorReporter class to include new interface