[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Trailing slash on a namespace that is a url
- From: Andrew Welch <andrew.j.welch@gmail.com>
- To: Chris Burdess <dog@bluezoo.org>
- Date: Tue, 24 Mar 2009 15:15:27 +0000
2009/3/24 Chris Burdess <dog@bluezoo.org>:
> Jirka Kosek wrote:
>>>
>>> (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.
>
>
> There is no requirement that namespace URLs resolve to a valid resource,
> whether via HTTP or otherwise. Namespace URLs are not intended to be
> resolved, they are opaque identifiers.
Sure, but sometimes resources related to the markup are placed at the
end of the url, and that's quite nice for everyone new to it.
If that technique is used (such as the w3c namespaces) then I wonder
if it's good idea that the address bar and namespace don't match...
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]