Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Best Practices for Establishing Namespace Name

From: Andrew Welch <andrew.j.welch@-----.--->
To: noah_mendelsohn@--.---.---
Date: 9/2/2009 2:48:00 PM
2009/9/2  <noah_mendelsohn@u...>:
> Hi, Scott.  Further endorsing the advice that Henry and Eliot have given
> you, I suggest you might be interested in the TAG's finding that
> specifically encourages you to provide useful information that can be
> retrieved using the namespace URI.  See [1].
>
> Noah
>
> [1] http://www.w3.org/2001/tag/doc/nsDocuments/


...but avoid using dates, for example:

http://www.w3.org/1999/XSL/Transform
http://www.w3.org/2001/XMLSchema

would have been much better as:

http://www.w3.org/XSLT
http://www.w3.org/XMLSchema

....then you don't have to reassure newbies that they really are using
modern technologies (2.0 and 1.1), despite what they may think from
the namespace.

I would say the main thing is to choose a namespace that wont need to
change, so don't use dates, versions, "beta", codenames etc.  Also the
namespace is often its branding, so using product names might be great
until marketing change their minds and call the product something
else... if the xml is visible to the customer they may ask for the
namespace to change too.

So as an example, if the company is called "foo" and the product is
"foobar", you would probably choose "http://foo.com/foobar", which is
most likely going to be ok, but I'm beginning to think that
"http://foo.com/ns" is the better choice.





-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent