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:
<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>
The available types are:
- string
- boolean
- long
- double
- date
- binary
- content
- complex
- scalarList
- complexList