Re: [xsl] random url for namespace to avoid uncontrollable dependencies

Subject: Re: [xsl] random url for namespace to avoid uncontrollable dependencies
From: Dirk <noisyb@xxxxxxx>
Date: Thu, 25 Aug 2011 15:31:29 +0200
On 08/25/11 11:40, Andrew Welch wrote:
On 25 August 2011 06:06, Dirk<noisyb@xxxxxxx> wrote:
Hello,

as a developer i have serious problems with using a URL as namespace...
because ICANN does control any URL i might use... and not me or people who
use the XML..

so...

what would be the problem (which i don't see, yet) to use something like
this:

xmlns:cms="http://localhost/cms/"; (i would prefer this VERY MUCH)

or, at least, this:

xmlns:cms="http://www.example.com/cms/";

or this:

xmlns:cms="http://www.google.com/cms/";


...as namespace url for my XML?


No problems at all, use whatever namespace you like.  You could just
use xmlns:cms="cms", it really doesn't matter.  Just don't put dates
or version numbers in it, or anything that might give you reason to
want to change it down the line.

alright!



Dirk


Current Thread