You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Przemo Pakulski (JIRA)" <ji...@apache.org> on 2009/02/20 16:40:01 UTC
[jira] Created: (JCR-1992) XML serialization in JRE 1.6 broken
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.
[jira] Updated: (JCR-1992) XML serialization in JRE 1.6 broken
Posted by "Przemo Pakulski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Przemo Pakulski updated JCR-1992:
---------------------------------
Affects Version/s: 1.5.2
> 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, 1.6.0
> Reporter: Przemo Pakulski
> Fix For: 1.5.3, 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.
[jira] Resolved: (JCR-1992) XML serialization in JRE 1.6 broken
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting resolved JCR-1992.
--------------------------------
Resolution: Duplicate
Fix Version/s: (was: 1.5.3)
(was: 1.6.0)
Assignee: Jukka Zitting
Resolving as a duplicate of JCR-1952.
> 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, 1.6.0
> Reporter: Przemo Pakulski
> Assignee: Jukka Zitting
>
> 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.
[jira] Commented: (JCR-1992) XML serialization in JRE 1.6 broken
Posted by "Grégory Joseph (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675423#action_12675423 ]
Grégory Joseph commented on JCR-1992:
-------------------------------------
Same issue as JCR-1952.
Do you have xalan on your classpath? Don't you get the same problem is your app runs with a 1.5 JRE ?
> 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, 1.6.0
> Reporter: Przemo Pakulski
> Fix For: 1.5.3, 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.
[jira] Commented: (JCR-1992) XML serialization in JRE 1.6 broken
Posted by "Przemo Pakulski (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (JCR-1992) XML serialization in JRE 1.6 broken
Posted by "Przemo Pakulski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Przemo Pakulski updated JCR-1992:
---------------------------------
Fix Version/s: 1.5.3
Affects Version/s: (was: 1.5.2)
1.6.0
> 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, 1.6.0
> Reporter: Przemo Pakulski
> Fix For: 1.5.3, 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.
[jira] Issue Comment Edited: (JCR-1992) XML serialization in JRE
1.6 broken
Posted by "Przemo Pakulski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675383#action_12675383 ]
ppakulski edited comment on JCR-1992 at 2/20/09 7:58 AM:
---------------------------------------------------------------
Example node exported using 1.4 :
<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">
node exported using 1.6 :
<sv:node
xmlns:fn="http://www.w3.org/2005/xpath-functions"
xmlns:fn_old="http://www.w3.org/2004/10/xpath-functions"
xmlns:mtm="com.oyster.mom.contentserver"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:jcr="http://www.jcp.org/jcr/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:sv="http://www.jcp.org/jcr/sv/1.0"
xmlns:rep="internal"
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
sv:name="DP11"
xmlns:fn="http://www.w3.org/2005/xpath-functions"
xmlns:fn_old="http://www.w3.org/2004/10/xpath-functions"
xmlns:mtm="com.oyster.mom.contentserver"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:jcr="http://www.jcp.org/jcr/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:sv="http://www.jcp.org/jcr/sv/1.0"
xmlns:rep="internal"
xmlns:nt="http://www.jcp.org/jcr/nt/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)
was (Author: ppakulski):
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, 1.6.0
> Reporter: Przemo Pakulski
> Fix For: 1.5.3, 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.