public void read(Document document) {
        read(null, document);
    }
Reads one document from the stream. Function assumes that the current element in the stream is
the start tag for the document.

@param document the document to be read
document/src/main/java/com/yahoo/vespaxmlparser/VespaXMLDocumentReader.java