True, but it would make all write actions a bit more expensive, in certain cases (like imports) possibly much more so.
On the other hand unregistering namespaces is not something that will happen very often I think. Of course, depending on the size of your repository unregistering might take a LOT of time if we have to search all of the nodes. Cheers, -Tako On 10/20/06, Tobias Bocanegra <[EMAIL PROTECTED]> wrote:
'if' the nodetypes (as exposed in /jcr:system/jcr:nodeType) would be referenced instead of referred to by name, we would have an easy mechanism to find out if a nodetype is no longer needed. but unfortunately, this was not considered in jsr170. but we could add a refcount to the nodetypes. regards, toby On 10/20/06, Jukka Zitting <[EMAIL PROTECTED]> wrote: > Hi, > > On 10/20/06, Tako Schotanus <[EMAIL PROTECTED]> wrote: > > Done: https://issues.apache.org/jira/browse/JCR-597 > > Thanks! > > > Just a question: where can those registered namespaces be used? In the names > > of Nodes of course, but are there any other places that have to be checked? > > Node and property names are the obvious location, but you also have > namespace references in NAME and PATH properties, node type > registrations, and possibly also in asynchronously delivered event > notifications, session-local namespace remappings, the transient > spaces, and uncommitted transaction logs. > > BR, > > Jukka Zitting > -- -----------------------------------------< [EMAIL PROTECTED] >--- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97 -----------------------------------------------< http://www.day.com >---
