<div dir="ltr">2008/10/7 Urho Konttori <span dir="ltr">&lt;<a href="mailto:urho.konttori@nokia.com">urho.konttori@nokia.com</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">ext Mikkel Kamstrup Erlandsen wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
A few of us made a more or less complete draft of a Xesam Metadata<br>
API. I just brushed it up a bit. You can now find it here:<br>
<a href="http://xesam.org/main/XesamMetadataAPI" target="_blank">http://xesam.org/main/XesamMetadataAPI</a><br>
<br>
Please comment.<br>
<br>
 &nbsp;<br>
</blockquote></div></div>
I&#39;m really interested in why do we need to have the explicit create method? Shouldn&#39;t all objects/nodes anyway have some property to have the reason why they were/are created? If so, shouldn&#39;t we just use the set method and explicitly mention that if setting properties for an object that doesn&#39;t exist, the object will be created automatically? Engines will anyway need to lookup the objects from the database, so they might just as well trigger the creation of the object while they are at it.<br>

</blockquote><div>&nbsp;<br>Ok, I am really indifferent on this subject. We still need to define a way to delete an object. Maybe if I want to delete daze://myNote I just call:<br><br>Metadata.Delete (&quot;daze://myNote&quot;, [&quot;xesam:url&quot;])<br>
<br>Or something similar. Of course this implicitly means that all objects must have a xesam:url which is not something I am all for...<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Also, should we consider allowing xml based graph injection?</blockquote><div><br>If we can avoid I would rather keep it all in the API. Historically metadata representation languages has been a point of *a lot* of flames in the Xesam community.&nbsp;</div>
</div><br><br clear="all"><br>-- <br>Cheers,<br>Mikkel<br>
</div>