On 25 Jan 2010, at 06:18, Alexander Klimetschek wrote: > On Fri, Jan 22, 2010 at 22:38, Rakesh Vidyadharan <[email protected]> wrote: >> The current import/export system does not preserve multi-values properties >> when they happen to have only a single value. This causes some issues when >> we work with known node structures, and where our application logic always >> ensures that a certain property is always created as multi-value. The fix >> is easy enough (always check and delete and recreate if necessary), but is >> still inconvenient and counter intuitive. Are there any plans to preserve >> the node definitions while exporting? > > Did you use document or system view? In system view it should work, > but for document view round-tripping cannot be guaranteed, as things > like multi-value properties don't map natively onto XML. > > See also this enhancement issue: https://issues.apache.org/jira/browse/JCR-325 > > Regards, > Alex
I used the system view. You can see the exporter code at http://kenai.com/projects/jcrmanager/sources/svn/content/trunk/src/app/com/sptci/jcr/webui/listener/menu/NodeExportListener.java?rev=48 (line 99).
