Re: [cmis] Namespace proposal and complex properties with lists

From
Kulian Qeschke
Date
2009-04-21T07:32:25+00:00
ID
Thread
Re: [cmis] Namespace proposal and complex properties with lists
 wrote:
 > > Julian Reschke wrote:
 > >
 >> >> How about:
 > >
 >> >> <properties name="acme:book">
 >> >>    <title>Brave New World II</title>
 >> >>    <releases>
 >> >>      <date>2008-04-01T00:00:00.000+02:00</date>
 >> >>      <format>hardcover</format>
 >> >>    </releases>
 >> >>    <releases>
 >> >>      <date>2009-04-15T00:00:00.000+02:00</date>
 >> >>      <format>Mass Market Paperback</format>
 >> >>    </releases>
 >> >> </properties>
 > >
 >> >>  That would just use the CMIS XML property type.
 > >
 > > Now we're talking. Let's leverage XML!  One question, what is the
 > > meaning of the name attribute on the properties element?

None, I just copied from the original mail.

If this was WebDAV or plain Atom, this would just read:

<book xmlns="...acme namespace...">
    <title>Brave New World II</title>
    <releases>
      <date>2008-04-01T00:00:00.000+02:00</date>
      <format>hardcover</format>
    </releases>
    <releases>
      <date>2009-04-15T00:00:00.000+02:00</date>
      <format>Mass Market Paperback</format>
    </releases>
</book>

-- 
<green/>bytes GmbH, Hafenweg 16, D-48155 Münster, Germany
Amtsgericht Münster: HRB5782