On 7 Apr 2006, at 16:35, Eric Barroca wrote: > On 7 avr. 06, at 16:25, Florent Guillaume wrote: >>> We need to manage it with childnodes (like node type >>> cps:contentfragment). >> Ok so basically they'll be like small special subdocuments. JCR >> can do that well, they're just subnodes. > It's not like subdocuments (for me a subdocument is like a Question/ > Answer for a FAQ). > I also have a need for small subdocuments, but it's different. The > need is to manage data block of the same document. > In fact it's really like a complexType that would be use as part as > the main document. Yes I understand that. >>> In fact, it's the exact use case of supporting XSD ComplexTypes. >>> For schemas management, are we still considering to use XSD? I >>> think this approach need ot be kept. >> The schema will be defined by the introspection of the node types >> in the JCR at startup. We can convert that to XSD if needed. >> But we'll need an internal python representation for them, more >> complex than the existing CPS Schemas which are a list of fields. >> I expect we'll end up with a new schemas tool that will be quite >> different. > Well why not do XSD -> Python Representation on CPS side CPS won't see the schemas directly, only through the JCR. Well maybe for prototyping we can load them from XSD but that's temporary. > and XSD -> NodeTypeDef in JCR. JackRabbit can already convert XSD to its internal node type definitions (org.apache.jackrabbit.core.nodetype.converter.SchemaConverter). > Or just XSD -> NodeTypeDef in JackRabbit and then get the Python > representation from the JCR node types's def. Yes that's what I was saying above (introspection of the node types in the JCR at startup). > I really like the XSD approach because we *need* to be able to > create new content type in 2 weeks at max. Sure. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com fg at nuxeo.com
Hosting: Nuxeo: Zope service provider
This page is a mailing archive for one of the Nuxeo projects.
[2008/11/18] Nuxeo 5.2.M3 and Nuxeo WebEngine 1.0.RC released!
[2008/11/13] First Nuxeo Developer Day (1st Dec. 2008) - Still a few seats available[2008/11/13] First Nuxeo Survey[2008/10/08] Nuxeo 5.1.6 ReleasedCorporate News[2008/11/20] Nuxeo secures 2 million Euros and strengthens its board of directors and corporate governance
[2008/11/17] Nuxeo joins OASIS[2008/10/23] IFRA Expo 2008 Amsterdam, October 27th to 30th, Booth 9363, Hall 9[2008/10/08] Nuxeo announces the appointment of Carina Rimoli as Indirect Sales Manager