We already have this in the DataMap XML and cayenne.xml:

<property name="XXX" value="YYY"/>

So there are some properties that Cayenne recognizes. Some are used for the core features (and probably should not be "properties"), such as DataMap 'defaultPackage', some are properties for optional (but bundled) extensions, such as JGroups module setup, which I think should stay as properties.

I guess we need a different namespace for the user properties, but no reason not to reuse the XML pattern. E.g.:

<!-- without a parent element -->
<user-property name="XXX" value="YYY"/>

This way we have some consistency.

Andrus


On Jun 1, 2009, at 1:36 PM, Aristedes Maniatis wrote:
On 01/06/2009, at 7:30 PM, Andrey Razumovsky wrote:

Also could you please wrap "info" tags in XML to parent tag, e.g.
<infoset>
 <info.../>
 ...
</infoset>


Why? I don't think that makes it any easier to parse or manipulate. And we don't have ObjEntity wrapped in ObjEntitySet, ObjAttribute in ObjAttributeSet, etc.


Ari


-------------------------->
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001   fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A




Reply via email to