You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Roy Russo (JIRA)" <ji...@apache.org> on 2005/09/25 16:01:49 UTC
[jira] Created: (JCR-222) incompatible with newers versions of xml-apis
incompatible with newers versions of xml-apis
---------------------------------------------
Key: JCR-222
URL: http://issues.apache.org/jira/browse/JCR-222
Project: Jackrabbit
Type: Improvement
Components: xml, core
Reporter: Roy Russo
Apparently the newer version of the xml-api does not play nice with file objects passed in via a streamresult. So to get around this, I have modified the jackrabbit code RepositoryConfig.java:311 to read:
transformer.transform(
//new DOMSource(template), new StreamResult(xml)); COMMENTED OUT!
new DOMSource(template), new StreamResult(directory+"\\"+WORKSPACE_XML));
A similar issue can be found here: http://forum.java.sun.com/thread.jspa?forumID=34&threadID=563077 and a somewhat similar issue can be found logged as a bug at sun: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5077403
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (JCR-222) incompatible with newers versions of
xml-apis
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/JCR-222?page=all ]
Jukka Zitting closed JCR-222:
-----------------------------
> incompatible with newers versions of xml-apis
> ---------------------------------------------
>
> Key: JCR-222
> URL: http://issues.apache.org/jira/browse/JCR-222
> Project: Jackrabbit
> Type: Improvement
> Components: xml, core
> Reporter: Roy Russo
> Assignee: Jukka Zitting
> Fix For: 1.0
>
> Apparently the newer version of the xml-api does not play nice with file objects passed in via a streamresult. So to get around this, I have modified the jackrabbit code RepositoryConfig.java:311 to read:
>
> transformer.transform(
> //new DOMSource(template), new StreamResult(xml)); COMMENTED OUT!
> new DOMSource(template), new StreamResult(directory+"\\"+WORKSPACE_XML));
> A similar issue can be found here: http://forum.java.sun.com/thread.jspa?forumID=34&threadID=563077 and a somewhat similar issue can be found logged as a bug at sun: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5077403
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (JCR-222) incompatible with newers versions of xml-apis
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/JCR-222?page=all ]
Jukka Zitting resolved JCR-222:
-------------------------------
Resolution: Fixed
Fixed as suggested (using xml.getPath() instead of manually creating the file path) in revision 292291. Thanks for reporting this issue!
> incompatible with newers versions of xml-apis
> ---------------------------------------------
>
> Key: JCR-222
> URL: http://issues.apache.org/jira/browse/JCR-222
> Project: Jackrabbit
> Type: Improvement
> Components: xml, core
> Reporter: Roy Russo
> Assignee: Jukka Zitting
> Fix For: 1.0
>
> Apparently the newer version of the xml-api does not play nice with file objects passed in via a streamresult. So to get around this, I have modified the jackrabbit code RepositoryConfig.java:311 to read:
>
> transformer.transform(
> //new DOMSource(template), new StreamResult(xml)); COMMENTED OUT!
> new DOMSource(template), new StreamResult(directory+"\\"+WORKSPACE_XML));
> A similar issue can be found here: http://forum.java.sun.com/thread.jspa?forumID=34&threadID=563077 and a somewhat similar issue can be found logged as a bug at sun: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5077403
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Assigned: (JCR-222) incompatible with newers versions of xml-apis
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/JCR-222?page=all ]
Jukka Zitting reassigned JCR-222:
---------------------------------
Assign To: Jukka Zitting
> incompatible with newers versions of xml-apis
> ---------------------------------------------
>
> Key: JCR-222
> URL: http://issues.apache.org/jira/browse/JCR-222
> Project: Jackrabbit
> Type: Improvement
> Components: xml, core
> Reporter: Roy Russo
> Assignee: Jukka Zitting
>
> Apparently the newer version of the xml-api does not play nice with file objects passed in via a streamresult. So to get around this, I have modified the jackrabbit code RepositoryConfig.java:311 to read:
>
> transformer.transform(
> //new DOMSource(template), new StreamResult(xml)); COMMENTED OUT!
> new DOMSource(template), new StreamResult(directory+"\\"+WORKSPACE_XML));
> A similar issue can be found here: http://forum.java.sun.com/thread.jspa?forumID=34&threadID=563077 and a somewhat similar issue can be found logged as a bug at sun: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5077403
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (JCR-222) incompatible with newers versions of xml-apis
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/JCR-222?page=all ]
Jukka Zitting updated JCR-222:
------------------------------
Fix Version: 1.0
> incompatible with newers versions of xml-apis
> ---------------------------------------------
>
> Key: JCR-222
> URL: http://issues.apache.org/jira/browse/JCR-222
> Project: Jackrabbit
> Type: Improvement
> Components: xml, core
> Reporter: Roy Russo
> Assignee: Jukka Zitting
> Fix For: 1.0
>
> Apparently the newer version of the xml-api does not play nice with file objects passed in via a streamresult. So to get around this, I have modified the jackrabbit code RepositoryConfig.java:311 to read:
>
> transformer.transform(
> //new DOMSource(template), new StreamResult(xml)); COMMENTED OUT!
> new DOMSource(template), new StreamResult(directory+"\\"+WORKSPACE_XML));
> A similar issue can be found here: http://forum.java.sun.com/thread.jspa?forumID=34&threadID=563077 and a somewhat similar issue can be found logged as a bug at sun: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5077403
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira