default : LOG.error("unknown node type");
default : LOG.error("Unknown node type"); Thread.dumpStack();
    protected static NodeImpl createNode(long gid, short type) {        NodeImpl node;        switch (type) {            case Node.TEXT_NODE :                node = new TextImpl(gid);                break;            case Node.ELEMENT_NODE :                node = new ElementImpl(gid);                break;            case Node.ATTRIBUTE_NODE :                node = new AttrImpl(gid);                break;            default :                LOG.error("unknown node type");                node = null;        }        return node;    }