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

        Hide
        Julian Reschke added a comment -

        Standalone test case illustrating the problem.

        Show
        Julian Reschke added a comment - Standalone test case illustrating the problem.
        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)

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development