jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torg...@netenviron.com>
Subject Re: Namespaces for Property and child Node Names
Date Mon, 21 Sep 2009 13:53:55 GMT
2009/9/21 Philipp Bunge <buge@crimson.ch>:
>> Why not
>>
>>> myblog/what_i_learned_today
>>> myblog/iphone_shipping
>>> myblog/iphone_shipping/foo:comments/i_like_it_too
>>> myblog/iphone_shipping/foo:comments/i_like_it_too/i_hate_it
>
> Jep, that's fine too. I just copied the example from DavidsModel on
> the Wiki [1] and prepended the namespace where I would use it.
>
> My question was more on the line of when to use a namespace prefix and when not.

Use prefixes for operational properties, and none for value
properties. The former properties might eventually end up in a schema.


-- 
-Tor

Mime
View raw message