Jackrabbit Content Repository
  1. Jackrabbit Content Repository
  2. JCR-1086

JCR2SPI: Workspace.getImportHandler creates a handler which doesn't work properly under JDK 1.4.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: jackrabbit-spi
    • Labels:
      None

      Description

      JCR2SPI returns an import handler which delegates work to a SAXTransformerHandler. In JDK, that one has a known issue not processing namespace prefix mappings properly (will attach a separate test case).

      Proposals:

      • drop JDK 1.4 support
      • tune the JCR2SPI handler to create namespace attributes when needed
      • use an entirely different serializer

      My personal preference would be just to drop JDK 1.4 support, but that may not be acceptable for everyone.

        Activity

        Julian Reschke created issue -
        Hide
        Julian Reschke added a comment -

        Standalone test case illustrating the problem.

        Show
        Julian Reschke added a comment - Standalone test case illustrating the problem.
        Julian Reschke made changes -
        Field Original Value New Value
        Attachment TransformerHandlerTest.java [ 12364507 ]
        Hide
        Julian Reschke added a comment -

        Forgot one proposal:

        • install a newer version of JAXP on top of JDK 1.4 (the JDK 1.5 JAXP is available as an upgrade for JDK 1.4)
        Show
        Julian Reschke added a comment - Forgot one proposal: install a newer version of JAXP on top of JDK 1.4 (the JDK 1.5 JAXP is available as an upgrade for JDK 1.4)
        angela made changes -
        Assignee angela [ anchela ]
        angela made changes -
        Fix Version/s 1.4 [ 12312447 ]
        angela made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jukka Zitting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jukka Zitting made changes -
        Workflow jira [ 12411429 ] no-reopen-closed, patch-avail [ 12468789 ]

          People

          • Assignee:
            angela
            Reporter:
            Julian Reschke
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development