I actually started with Jukka's definitions but since he only addressed the Atom model and I'm working with Atom and AtomPub (RFC 4287), I had to do some development of my own. Since I was pressed for time and wanted to keep things simple, I took the approach you see bellow.
Having said all that, I'd be happy to collaborate with folks to improve the model if there is interest. On 8/2/07, David Nuescheler <[EMAIL PROTECTED]> wrote: > hi rob, > > thanks for sharing.... > > how about this old post from jukka in 2005: > http://mail-archives.apache.org/mod_mbox/jackrabbit-dev/200511.mbox/[EMAIL > PROTECTED] > > regards, > david > > On 7/31/07, Rob Evans <[EMAIL PROTECTED]> wrote: > > Folks, > > > > I'm interested in getting feedback on this simple atompub Node Type > > Definition. My intention was to keep things simple but wonder if this > > is too simple. Are there any beginners mistakes being made? > > > > BTW, I've found Jackrabbit and JSR 170 in general to be very easy to > > work with and I appreciate your efforts. IMO, JSR 170 > > > > Looks like Oracle is supporting the JSR [1] now. Interesting days. > > > > [1] > > http://www.oracle.com/technology/products/database/oracle11g/pdf/xml-db-11g-whitepaper.pdf > > > > > > ATOMPUB NODE TYPE > > ================================================= > > <atom = "http://www.w3.org/2007/atom"> > > <app = "http://www.w3.org/2007/app"> > > <ism = "http://ism.cisco.com/2007/ism/1.0"> > > <nt = "http://www.jcp.org/jcr/nt/1.0"> > > <mix = "http://www.jcp.org/jcr/mix/1.0"> > > > > > > [atom:Base] >nt:base > > - atom:lang (string) > > > > [atom:Person] > atom:Base > > - atom:name (string) mandatory > > - atom:uri (string) > > - atom:email (string) > > > > [atom:Node] > atom:Base > > - atom:rights (string) > > + atom:author (atom:Person) multiple > > - atom:blob (string) mandatory > > > > [atom:Entry] > atom:Node > > - atom:id (string) mandatory > > - atom:title (string) mandatory > > - atom:published (date) > > - atom:updated (date) mandatory > > - atom:content (string) > > - atom:link (string) > > > > [atom:Feed] > atom:Node, mix:referenceable > > - atom:id (string) mandatory > > - atom:icon (string) > > - atom:logo (string) > > - atom:title (string) > > - atom:subtitle (string) > > - atom:updated (date) > > + * (atom:Entry) = atom:Entry multiple > > > > [ism:SubjectArea] > nt:base, mix:referenceable > > - atom:name (string) mandatory > > + * (atom:Feed) = atom:Feed > > > > [app:ServiceDocument] > nt:base, mix:referenceable > > - atom:name (string) mandatory > > - atom:blob (string) > > >
