technically could declare (well, use) the namespaces in an xml document and then import it on start-up ;) not sure that would be helpful though...
regards, david On Mon, Jan 17, 2011 at 12:05 PM, Stefan Guggisberg <[email protected]> wrote: > hi mathieu, > > On Fri, Jan 14, 2011 at 10:15 PM, Mathieu Baudier <[email protected]> wrote: >>> is there a way to register namespace declaratively (in a config file, >>> like a repository.xml file) instead of programmatically using >>> javax.jcr.NamespaceRegistry.registerNamespace(String, String) ? >> >> I have found a pretty clean way to do it programmatically, so I'd have >> no problem with a 'no'. > > thanks ;) > > jackrabbit doesn't provide a way to register namespaces declaratively. > > cheers > stefan > >> I just want to make sure that I did not miss a declarative way... >> >>> We are using Jackrabbit 2.20. >> >> I meant 2.2.0 (now 2.2.1, thanks for the release!) >> > -- David Nuescheler | VP Engineering | Adobe Systems twitter: @davidnuescheler
