Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-8546 Add a diff feature to compare two documents or two versions of a document
  3. NXP-8595

Override core io document exporter to generate a XML aware of property types

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.5
    • Fix Version/s: 5.6-RC1, 5.6
    • Component/s: None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              ataillefer Antoine Taillefer
              Reporter:
              ataillefer Antoine Taillefer
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h