On Thu, Jan 21, 2010 at 06:37, sunild <[email protected]> wrote: > Basically nt:unstructured is the node type which doesnot mandate any > restriction. Any property can be added without declaration.
Yes, but he can still add mandatory properties on top of the wildcards in his subtype. This is a very valid use case - allow everything, but these few properties must always exist. His nodetype definitions look good to me. > But you are in need of a node type where a particular property need to be > mandatory. Try extending nt:resource. It will surely help. No, nt:resource is quite specific in its use as a resource for nt:files, so I wouldn't recommend that in general. And it doesn't change his specific situation, which must be another issue. Normally, the base node type is nt:base from which you don't have to explicitly inherit from (like Object in Java). Regards, Alex -- Alexander Klimetschek [email protected]
