The ability to specify the automatic creation of child nodes and properties has a number of interesting repercussions. Consider a situation where we have three node types, C, B and A:
C specifies an auto-created STRING property called Z with default value “hello”.
B specifies an auto-created child node Y of node type C.
A specifies an auto-created child node called X of node type B.
Therefore, when a node N of node type A is added, this triggers a chain of automatic node creation resulting in a structure like this:
N--> X--> Y--> Z="hello"
It is perfectly possible for a repository to have node types that may result in a cascade of item creation. However, it must never be the case that a repository has a set of node types that may result in an infinite loop of automatic item creation.