Re: [xml-dev] Trailing slash on a namespace that is a url

From
Jirka Kosek <>
To
Andrew Welch <>
Date
2009-03-24T14:34:58Z
ID
<>
Thread
Re: [xml-dev] Trailing slash on a namespace that is a url
Andrew Welch wrote:

> Is it wise to leave it off, or should those namespaces have had it?

I think that better is to leave it off as namespace is shorter and more
readable.

> (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)

Note that the slash is added by web server not browsers -- for example
in XHTML case the namespace document is placed in /1999/xhtml directory
on the web server which means that web server issues redirect to
/1999/xhtml/ to get directory index. Namespace document has to be placed
to /1999/ directory and named xhtml or some rewrite rules has to be
applied on the web server.

				Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail:       http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------