Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-2003 JCR2SPI / SPI: Add support for JCR 2.0
  3. JCR-2005

JCR2SPI: Remove validation check for same-named Node and Property

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0-alpha8
    • jackrabbit-jcr2spi
    • None

    Description

      JSR 170 disallowed a parent node to have a property and a child node with the same name.

      This limitation has been removed with JSR 283 and the RI (jackrabbit-core) already removed the check.
      I would suggest to change Jcr2Spi accordingly and leave this validation to the underlying SPI impl.

      If I'm not mistaken this JSR 170 requirement is asserted in a single place (ItemStateValidator).

      Attachments

        1. JCR-2005.patch
          10 kB
          Angela Schreiber

        Issue Links

          Activity

            People

              angela Angela Schreiber
              angela Angela Schreiber
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: