jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sirčne vip" <sirene_...@hotmail.com>
Subject [beginners]Defining New Namespaces
Date Thu, 12 Jan 2006 09:38:06 GMT
Hello,

I want to define new namespaces for the project I'm working on. Let's say:
I want to define "test1" and "test2" namespaces.

Where should they be defined? I tried in "ns_reg" file under 
Home-Example/repository/repository/namepsaces, but it didn't work. I'm using 
for that purpose:
ws.getNamespaceRegistry().registerNamespace
	("test", "http://www.konito.net/test/1.0"); -- as an example!

Thanks for your help on this issue.
Cheers,
Celina

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


Mime
View raw message