tika-core/src/main/java/org/apache/tika/sax/DIFContentHandler.java [111:133]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void endElement(String uri, String localName, String qName) throws SAXException {
        if (localName.equals("Spatial_Coverage")) {
            this.delegate.characters(NEWLINE, 0, NEWLINE.length);
            this.delegate.characters(TABSPACE, 0, TABSPACE.length);
            this.delegate.endElement("", "table", "table");
        }
        if (this.isLeaf) {
            Stack<String> tempStack = (Stack<String>) this.treeStack.clone();
            StringBuilder key = new StringBuilder();
            while (!tempStack.isEmpty()) {
                if (key.isEmpty()) {
                    key = new StringBuilder(tempStack.pop());
                } else {
                    key.insert(0, tempStack.pop() + "-");
                }
            }
            String value = this.dataStack.peek();
            this.metadata.add(key.toString(), value);
            this.isLeaf = false;
        }
        this.treeStack.pop();
        this.dataStack.pop();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-miscoffice-module/src/main/java/org/apache/tika/parser/dif/DIFContentHandler.java [110:132]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void endElement(String uri, String localName, String qName) throws SAXException {
        if (localName.equals("Spatial_Coverage")) {
            this.delegate.characters(NEWLINE, 0, NEWLINE.length);
            this.delegate.characters(TABSPACE, 0, TABSPACE.length);
            this.delegate.endElement("", "table", "table");
        }
        if (this.isLeaf) {
            Stack<String> tempStack = (Stack<String>) this.treeStack.clone();
            StringBuilder key = new StringBuilder();
            while (!tempStack.isEmpty()) {
                if (key.isEmpty()) {
                    key = new StringBuilder(tempStack.pop());
                } else {
                    key.insert(0, tempStack.pop() + "-");
                }
            }
            String value = this.dataStack.peek();
            this.metadata.add(key.toString(), value);
            this.isLeaf = false;
        }
        this.treeStack.pop();
        this.dataStack.pop();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



