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

Re: Trailing slash on a namespace that is a url

  • From: Robin Cover <robin@o...>
  • To: Andrew Welch <andrew.j.welch@g...>
  • Date: Tue, 24 Mar 2009 11:41:35 -0400 (EDT)

Re:  Trailing slash on a namespace that is a url


Robin Cover
OASIS, Director of Information Services
Editor, Cover Pages and XML Daily Newslink
Email: robin@o...
Staff bio: http://www.oasis-open.org/who/staff.php#cover
Cover Pages: http://xml.coverpages.org/
Newsletter: http://xml.coverpages.org/newsletterArchive.html
Tel: +1 972-296-1783


On Tue, 24 Mar 2009, Andrew Welch wrote:

> Hi all,
>
> Does the list think namespaces should have a trailing slash?  (those
> that are URLs anyway)
>
> For example:
>
> http://www.w3.org/1999/xhtml
> http://www.w3.org/1999/XSL/Transform
> http://www.w3.org/2001/XMLSchema
> http://www.w3.org/ns/widgets
>
> ...all omit the trailing slash.
>
> Is it wise to leave it off, or should those namespaces have had it?
> (They do have something at the end of them, and if you visit any of
> them in a browser, the trailing slash gets added in the address bar...
> not a big deal, but has potential for confusion)

We (at OASIS) allow the TCs to mint namespace names with final
hash, slash, or nothing [alphanumeric], but we don't allow
overloading that creates confusion (e.g., at the slash point)

It seems to work OK, though not everyone likes the restriction.

We now require use of the literal /ns/ component as an aid to
users - anything with /ns/ is a namespace URI, not a regular
(information resource) URI.

See details:

XML Namespace Design, Allocation, and Management
http://docs.oasis-open.org/specGuidelines/namingGuidelines/resourceNamingV08.html#NamespaceDesign

- Robin

>
>
>
> thanks
> -- 
> Andrew Welch
> http://andrewjwelch.com
> Kernow: http://kernowforsaxon.sf.net/
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@l...
> subscribe: xml-dev-subscribe@l...
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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-2011 All Rights Reserved.