cancel
Showing results for 
Search instead for 
Did you mean: 

Where does the URL point to in the namespace?

dallinns
Champ on-the-rise
Champ on-the-rise
In the xml file where you define a model, for example in the default contentModel.xml file you define the namespaces like this:

<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?
1 REPLY 1

mrogers
Star Contributor
Star Contributor
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