jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy Russo (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-222) incompatible with newers versions of xml-apis
Date Sun, 25 Sep 2005 14:01:49 GMT
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


Mime
View raw message