Re: Trailing slash on a namespace that is a url
2009/3/24 Chris Burdess <dog@b...>: > 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]
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format