XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] 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@oasis-open.org
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@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> 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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS