[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: namespace URI name conventions?


email name conventions
> From: Dare Obasanjo [mailto:dareo@m...]

<snip/>

> The most common convention I have seen is in use (at least by us at
> Microsoft) is 
> 
> 	
> urn:technologyarea-companyname.com:specifictechnology-or-speci
> ficproduct
> /morespecifics
> 
> which is typically easily recognizable by most who see it as 
> a namespace
> URI unlike HTTP URLs(some of which break the unwritten rules 
> of the web
> by not pointing to network retrievable documents). 

The only problem with this is URNs are supposed to have officially
registered namespaces [1], so this is really abuse of the URN scheme. To be
honest, though, we used to do the same thing here. Someone else here started
the precedent some time ago of using "urn:schemas-allegis-com:" as the root
namespace for our namespace URIs (I think because they were imitating
Microsoft's approach). I've been encouraging use of "http:" URIs instead
because this explicitly goes against the IETF's recommended best practices.
I haven't been able to sell anyone here, though, on the notion of putting
actual content such as RDDL at the end of the URIs (which I happen to
believe is a sound best practice).

Hasn't this gone out of favor in lieu of "http:" URIs anyway? It seems like
the newer namespaces used by Microsoft are increasingly using "http:" URIs
(although I haven't attempted any real survey).

[1] http://www.rfc-editor.org/rfc/rfc2611.txt

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.