}
if (!getAbstractFactory(context).createObject(context, this, node, name.toString(), index)){
throw new JXPathException("Factory could not create a child node for path: " +
asPath() + "/" + name + "[" + (index+1) + "]");
}
NodeIterator it = childIterator(new NodeNameTest(name), false, null);
if (it == null || !it.setPosition(index + 1)){
throw new JXPathException("Factory could not create a child node for path: " +
asPath() + "/" + name + "[" + (index+1) + "]");
}
return it.getNodePointer();