Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-222

incompatible with newers versions of xml-apis

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0
    • jackrabbit-core, xml
    • None

    Description

      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

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            royrusso Roy Russo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: