Thank you, everyone. 

I was troubled even if I removed org.apache.jackrabbit.server.io.XmlHandler
of config.xml because it was the same result. 

I try JCR-Explorer.

-----Original Message-----
From: Johannes Boneschanscher [mailto:[email protected]] 
Sent: Friday, January 23, 2009 6:36 PM
To: [email protected]
Subject: Re: Problem when XML file is up-loaded

I expect that the way you download it is wrong, it may help to use this tool
to look at the structure and contents of Jackrabbit:

http://www.jcr-explorer.org/

Regards,

Johannes

安藤 正 wrote:
> I'm sorry for my poor English. 
>
> The following problems happen. 
>
> 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 following are content of the change. 
>
> Up-loaded xml:
> <?xml version="1.0" encoding="UTF-8"?> <configdata>
>       <!--
>               connfig selection
>       -->
>       <selectConfig>production</selectConfig>
>       <!--
>               prod
>       -->
>       <production>
>               <code>
>                       <params>
>                               <base>Shift_JIS</base>
>                       </params>
>               </code>
>       
> Downloaded XML:
> <?xml version="1.0" encoding="UTF-8" ?>  <configdata 
> 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: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"; jcr:primaryType="nt:unstructured">
>   <selectConfig 
> jcr:primaryType="nt:unstructured">production</selectConfig>
>  <production jcr:primaryType="nt:unstructured">
>  <code jcr:primaryType="nt:unstructured">
>  <params jcr:primaryType="nt:unstructured">
>   <base jcr:primaryType="nt:unstructured">Shift_JIS</base> 
>   </params>
>   </code>
>
>   

Reply via email to