jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 安藤 正 <ta...@brycen.co.jp>
Subject Problem when XML file is up-loaded
Date Fri, 23 Jan 2009 08:55:09 GMT
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>


Mime
View raw message