@Override
    public String getSystemId() {
        if (entityStack.empty()) {
            return null;
        } else {
            return entityStack.peek();
        }
    }
<b>SAX Locator</b> method (don't invoke on parser);
src/nu/validator/gnu/xml/aelfred2/SAXDriver.java