prevNode = comment;
setPrevious(comment);
	public void comment(char[] ch, int start, int length) {		if (insideDTD)			return;		CommentImpl comment = new CommentImpl(ch, start, length);		comment.setOwnerDocument(document);		if (stack.empty()) {            comment.setNodeId(broker.getBrokerPool().getNodeFactory().createInstance());            if (!validate)				broker.storeNode(transaction, comment, currentPath);			document.appendChild(comment);		} else {			ElementImpl last = (ElementImpl) stack.peek();			if (charBuf != null && charBuf.length() > 0) {				final XMLString normalized = charBuf.normalize(normalize);				if (normalized.length() > 0) {					text.setData(normalized);					text.setOwnerDocument(document);					last.appendChildInternal(prevNode, text);                  prevNode = text;					if (!validate)						storeText();				}				charBuf.reset();			}			last.appendChildInternal(prevNode, comment);           prevNode = comment;			if (!validate)				broker.storeNode(transaction, comment, currentPath);		}	}