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

Subject: Re: [xsl] random url for namespace to avoid uncontrollable dependencies
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Thu, 25 Aug 2011 10:40:04 +0100
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.





-- 
Andrew Welch
http://andrewjwelch.com

Current Thread