Marcel Reutegger wrote:
Hi,
On Tue, Jul 7, 2009 at 15:41, Julian Reschke<[email protected]> wrote:
<https://issues.apache.org/jira/browse/JCR-1591> indicates that only
registration, but not removal is supported.
Looking at the Javadoc for the unregister methods, I don't see this case
considered. So, should we consider this a missing feature of the RI?
to me, it seems the spec is not clear enough about unregistering node
types. e.g. what happens if there still is content using that node
type? AFAICS the spec only talks about collisions when updating a node
I think we can't require repositories to support removal of a node type
that is in use. We may want to specify the exact exception to be thrown.
...
BR, Julian