Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-837

ModeShape should support CND file used by Jackrabbit prior to the official format defined in JCR 2.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 2.1.0.Final
    • 2.0.0.Final
    • JCR
    • None
    • Workaround Exists
    • Hide

      Manually correct the CND files.

      Show
      Manually correct the CND files.
    • Low

      ModeShape requires CND files be in the JCR 2.0 format, and result in errors when some pre-JCR 2.0 CND files are used. To make it as easy as possible for people migrating from Jackrabbit to ModeShape, ModeShape should support reading in the older-style CND formats.

      The CND format was originally defined by the Jackrabbit project and was not standardized until JCR 2.0. And when it was standardized, there were a few minor changes to the format:
      1) Child node definitions should use the SNS keyword rather than the older MULTIPLE keyword (though the meaning is identical and thus they are technically interoperable)
      2) Child node definitions should use the PRIMARYITEM keyword rather than just "PRIMARY". Again, no semantic difference.

      Our CND importer has a boolean flag that defines whether pre-JCR 2.0 CND formats are allowed, and this is currently set to 'false'. To support JR-style CND formats, this flag should be set to 'true'.

            rhauch Randall Hauch (Inactive)
            rhauch Randall Hauch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: