@Override
    public void startDocument() throws SAXException {
        depth = 0;
        super.startDocument();
    }
Sets the locator to use when reporting errors.

@param locator The locator to use.
stroom-search/stroom-search-extraction/src/main/java/stroom/search/extraction/XPathExtractionOutputFilter.java