}
public void comment(char[] ch, int start, int length) {
if (insideDTD)
{return;}
final CommentImpl comment = new CommentImpl(ch, start, length);
comment.setOwnerDocument(document);
if (stack.empty()) {
comment.setNodeId(broker.getBrokerPool().getNodeFactory()
.createInstance(nodeFactoryInstanceCnt++));
if (!validate) {
broker.storeNode(transaction, comment, currentPath, indexSpec);
}
document.appendChild(comment);