Hi, On Fri, Jan 23, 2009 at 9:55 AM, 安藤 正 <[email protected]> wrote: > 1)The xml file was up-loaded through SimpleWebdavServlet. > PersistenceManager was > org.apache.jackrabbit.core.state.xml.XMLPersistenceManager. > > 2)The file was downloaded. > > And, the content of xml changes. > > Why is it changed?
The default configuration of SimpleWebdavServlet contains a special handler for XML files. This handler (org.apache.jackrabbit.server.io.XmlHandler) will convert the incoming XML to a JCR node tree on import and back to XML on export using the document view mapping defined in the JCR spec. You can disable this feature by removing the XmlHandler entry from the config.xml file used to configure the SimpleWebdavServlet. BR, Jukka Zitting
