You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2007/08/24 12:25:30 UTC
[jira] Updated: (JCR-1086) JCR2SPI: Workspace.getImportHandler
creates a handler which doesn't work properly under JDK 1.4.
[ https://issues.apache.org/jira/browse/JCR-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke updated JCR-1086:
--------------------------------
Attachment: TransformerHandlerTest.java
Standalone test case illustrating the problem.
> JCR2SPI: Workspace.getImportHandler creates a handler which doesn't work properly under JDK 1.4.
> ------------------------------------------------------------------------------------------------
>
> Key: JCR-1086
> URL: https://issues.apache.org/jira/browse/JCR-1086
> Project: Jackrabbit
> Issue Type: Bug
> Components: SPI
> Reporter: Julian Reschke
> Attachments: TransformerHandlerTest.java
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.