W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2009

Re: Best Practices for Establishing Namespace Name

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Fri, 28 Aug 2009 21:37:01 -0300
Message-Id: <7.0.1.0.2.20090828212909.0271f450@wheresmymailserver.com>
To: <xmlschema-dev@w3.org>
At 2009-08-28 15:34 -0700, Tsao, Scott wrote:
>We are trying to decide on a namespace URI for an XML schema under 
>development by a standards committee in the aerospace industry.
>
>Are there best practices that we could follow?  For example, the 
>choice between URL and URN, case sensitivity, unique components in 
>the name, and incorporation of RDDL, etc.
>
>Also, are there good example namespace names already established by 
>standards committees such as those in OASIS?

I cite the OASIS genericode namespace as an example of using RDDL in XHTML:

     http://docs.oasis-open.org/codelist/ns/genericode/1.0/

And I used the following stylesheet to help me polish the document's accuracy:

     http://www.CraneSoftwrights.com/resources/#showrddl

Case sensitivity is implied by the Namespaces in XML specification:

     http://www.w3.org/TR/2006/REC-xml-names11-20060816/#NSNameComparison

I can think of no guidelines for namespace components other than not 
implying there is a schema at the URL.  Just plan ahead so that you 
can create a number of namespace URI strings without collisions.

I regret that the OASIS policy at the release of UBL was URN-based 
and not URL-based, but such was the case at the time.

I hope this helps.

. . . . . . . . . . . . . . Ken


--
Interested in these classes?  http://www.CraneSoftwrights.com/x/i/
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/x/
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video lesson:    http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18
Video overview:  http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/x/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal
Received on Saturday, 29 August 2009 00:38:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:14 GMT