@Override
    public void startElement(final String uri, final String localName,
            final String tag, final Attributes attributes) throws SAXException {

        if (tag.equals("bibl")) {
            inBib = true;
        }

        if (tag.equals("form")) {
            inForm = true;
        }

        if (tag.equals("orth")) {
            inOrth = true;
            if (inWordform) {
                inWordformOrth = true;
            }
        }

        if (inBib && tag.equals("title")) {
            inBibTitle = true;
        } else {
            super.startElement(uri, localName, tag, attributes);
        }
        
        if(tag.equals("gram")) {
            inPoS = true;
        }
    }