Where does the URL point to in the namespace?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2011 02:56 PM
In the xml file where you define a model, for example in the default contentModel.xml file you define the namespaces like this:
What are these URLS supposed to point to? For example if I wanted my own custom model what URL would I supply there?
<namespaces> <namespace uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/> <namespace uri="http://www.alfresco.org/model/rendition/1.0" prefix="rn"/> <namespace uri="http://www.alfresco.org/model/exif/1.0" prefix="exif"/></namespaces>
What are these URLS supposed to point to? For example if I wanted my own custom model what URL would I supply there?
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2011 03:09 PM
Those are URIs (Note the I) Not URLs. They don't "point" to anything in the way a URL does. However they do uniquely name a namespace. You can name your namespace with whatever string you want (except for some prohibited characters) but by convention URIs use the same sort of naming conventions as URLs.
Here's a better definition than my ramblings…
http://en.wikipedia.org/wiki/Uniform_Resource_Identifier
Here's a better definition than my ramblings…
http://en.wikipedia.org/wiki/Uniform_Resource_Identifier
