[JDEV] <x/> namespace registration

Eric Bowersox ebowersox at corp.webb.net
Tue Jan 18 15:14:26 CST 2000


> From: Thomas Charron [mailto:tcharron at ductape.net]
> Quoting Ryan Eatmon <reatmon at ti.com>:
> > >        <x xmlns="com:ti:what:ever">
> > >          <!-- some TI-specific data here -->
> > >        </x>
> > I like this idea.  It serves to make sure that what you 
> come up with in
> > one place will be unique unless someone decides to stomp around in
> > someone else's sandbox.  Anybody have any thoughts about 
> this method for
> > namespaces?  and if the Jabber project is going to 
> officially push any
> > method for the creation of namespaces?
>   I'm still deciding if I like the above method, but 
> jabber:x: based namespaces 
> would actually FIT in that convention.  Perhaps..

Well, do note that even Sun doesn't strictly enforce the package name
convention; you are perfectly free to put your classes in package
"swedish.chef.bork.bork.bork" if you wish.  The DNS name convention for
package names is just that:  a convention.  (There are some companies that
violate it; for example, BEA Systems uses a lot of packages under
"weblogic.*".  And don't even get me started on what Microsoft does :-).)

Similarly, the namespace name convention for Jabber <x> tag blocks (and <iq>
query types as well, come to think of it) would be just a convention that we
would suggest to people seeking to develop their own extension or query
types.  At the same time, we can tell them "hands off any namespace
beginning with 'jabber:'," reserving that prefix for any future things we
might choose to do.

		`			Eric
--
Eric J. Bowersox <ebowersox at corp.webb.net>
Software Engineer - Webb Interactive Services Inc. <http://www.webb.net>




More information about the JDev mailing list