[
https://issues.apache.org/jira/browse/JCR-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675383#action_12675383
]
Przemo Pakulski commented on JCR-1992:
--------------------------------------
Example :
<sv:node sv:name="DP11"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:fn_old="http://www.w3.org/2004/10/xpath-functions"
xmlns:fn="http://www.w3.org/2005/xpath-functions"
xmlns:mtm="com.oyster.mom.contentserver"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:sv="http://www.jcp.org/jcr/sv/1.0"
xmlns:rep="internal"
xmlns:jcr="http://www.jcp.org/jcr/1.0">
It is causing the following exception when trying to import serialized content
later :
Caused by: javax.jcr.InvalidSerializedDataException: XML parse error: Attribute
"fn" bound to namespace "http://www.w3.org/2000/xmlns/" was already specified
for element "sv:node".: Attribute "fn" bound to namespace
"http://www.w3.org/2000/xmlns/" was already specified for element "sv:node".
at
org.apache.jackrabbit.commons.AbstractSession.importXML(AbstractSession.java:356)
> XML serialization in JRE 1.6 broken
> -----------------------------------
>
> Key: JCR-1992
> URL: https://issues.apache.org/jira/browse/JCR-1992
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-jcr-commons
> Affects Versions: 1.5.2
> Reporter: Przemo Pakulski
> Fix For: 1.6.0
>
>
> It looks that after fixing JCR-1767, prefix mappings are added twice when
> running export using JRE 1.6.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.