RE: namespace URI name conventions?
The most common convention I have seen is in use (at least by us at Microsoft) is urn:technologyarea-companyname.com:specifictechnology-or-specificproduct /morespecifics which is typically easily recognizable by most who see it as a namespace URI unlike HTTP URLs(some of which break the unwritten rules of the web by not pointing to network retrievable documents). -- This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use. (c) 2002 Microsoft Corporation. All rights reserved. > -----Original Message----- > From: DuCharme, Bob (LNG) [mailto:bob.ducharme@l...] > Sent: Monday, March 25, 2002 2:53 PM > To: 'xml-dev' > Subject: namespace URI name conventions? > > > Has anyone ever noticed any common patterns in namespace URIs > to show that a URI does represent a namespace? For example, > Simon St. Laurent has namespace URIs following the format http://www.simonstl.com/ns/foo, http://www.simonstl.com/ns/bar, etc., and I asked him if there was any precedent for the /ns/ part, and he said no. Assuming that we don't want to hang them off the root directory (e.g. http://www.snee.com/foo) the two obvious choices are a directory name to identify namespaces as Simon did or a subdomain (e.g. http://mynamespaces.snee.com/foo or http://ns.snee.com/foo or whatever.) Has anyone seen any conventions repeated often enough to qualify as conventions? thanks, Bob DuCharme www.snee.com/bob <bob@ snee.com> "The elements be kind to thee, and make thy spirits all of comfort!" Anthony and Cleopatra, III ii ----------------------------------------------------------------- The xml-dev list is sponsored by XML.org <http://www.xml.org>, an initiative of OASIS <http://www.oasis-open.org> The list archives are at http://lists.xml.org/archives/xml-dev/ To subscribe or unsubscribe from this list use the subscription manager: <http://lists.xml.org/ob/adm.pl>
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