[ 
https://jira.nuxeo.com/browse/NXP-8595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=110488#comment-110488
 ] 

Antoine Taillefer commented on NXP-8595:
----------------------------------------

A new implementation of {{ExportedDocument}} is now available: 
{{TypedExportedDocumentImpl}}.
A new implementation of {{DocumentModelReader}} is now available: 
{{TypedSingleDocumentReader}}.

> Override core io document exporter to generate a XML aware of property types
> ----------------------------------------------------------------------------
>
>                 Key: NXP-8595
>                 URL: https://jira.nuxeo.com/browse/NXP-8595
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Sub-task
>    Affects Versions: 5.5
>            Reporter: Antoine Taillefer
>            Assignee: Antoine Taillefer
>             Fix For: 5.6
>
>   Original Estimate: 4 hours
>          Time Spent: 4 hours
>  Remaining Estimate: 0 minutes
>
> It would be nice to have an XML export of documents with a {{type}} attribute 
> on each field element.
> This would make the work on the XML easier, for example in the Diff feature 
> that compares XML exports.
> Typically what we want is:
> {code:xml}
> <schema xmlns:dc="http://www.nuxeo.org/ecm/schemas/dublincore/"; 
> name="dublincore">
>   <dc:creator type="string">Administrator</dc:creator>
>   <dc:source type="string"/>
>   <dc:contributors type="scalarList">
>     <item type="string">Administrator</item>
>     <item type="string">joe</item>
>   </dc:contributors>
>   <dc:nature type="string"/>
>   <dc:created type="date">2011-12-29T11:24:25Z</dc:created>
>   <dc:description type="string">description</dc:description>
>   <dc:rights type="string"/>
>   <dc:subjects type="scalarList">
>     <item type="string">Art</item>
>     <item type="string">Architecture</item>
>   </dc:subjects>
>   <dc:publisher type="string"/>
> </schema>
> {code}
> The available types are:
> * string
> * boolean
> * long
> * double
> * date
> * binary
> * content
> * complex
> * scalarList
> * complexList

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to