public Location getCurrentLocationAsStart() {
        final int startLineNo;
        final int startColNo;

        // The current(Line|Col)No does not advance on a line break so to get the location
        // as a start position we need to respect the line break so our start is on the next
        // line
        if (lastCharRead == '\n') {
            // We don't want our start pos to be the end of the prev line so advance it
            startLineNo = currentLineNo + 1;
            startColNo = COL_NO_BASE;
        } else {
            startLineNo = currentLineNo;
            // After an inline record delimiter add one to set the start pos after the delimiter
            startColNo = currentColNo + 1;
        }

        return DefaultLocation.of(startLineNo, startColNo);
    }
Changes the current location of the reader so that any errors or warnings
can be linked to the current location.
stroom-pipeline/src/main/java/stroom/pipeline/xml/converter/ds3/DS3Reader.java