I do not think there is a way to change the node type of the root node. The spec certainly doesn't require it.
Justin On 6/4/10 12:48 PM, bruno coelho wrote: > hi all, > > > I have created and tested successfully a custom type of node that doesn't > allow same name siblings: > > <ctgt = 'http://www.namespace.pt/1.0'> > [ctgt:nosamenamesiblings] > orderable > - * (UNDEFINED) multiple > - * (UNDEFINED) > + * (nt:base) = ctgt:nosamenamesiblings VERSION > > everything is work as supposed except at the root. > > it doesn't allow me to create node like: > - /test/nodeA > - /test/nodeA[1] > > but I can create node like this: > - /test > - /test[1] > - /test[2] > > how can I avoid this? > what's wrong with me node type definition? > > > thanks in advance. > > > best regards, > bruno coelho >
