Revision 1387
Added by Jing Tao almost 22 years ago
src/edu/ucsb/nceas/metacat/ReplicationHandler.java | ||
---|---|---|
299 | 299 |
try |
300 | 300 |
{ |
301 | 301 |
// Write the document into local host |
302 |
String newDocid = DocumentImpl.writeReplication(dbConn, |
|
302 |
String newDocid = DocumentImplWrapper.writeReplication(dbConn,
|
|
303 | 303 |
new StringReader(newxmldoc), |
304 | 304 |
(String)docinfoHash.get("public_access"), |
305 | 305 |
null, /* the dtd text */ |
... | ... | |
308 | 308 |
(String)docinfoHash.get("user_owner"), |
309 | 309 |
null, /* null for groups[] */ |
310 | 310 |
docHomeServer, |
311 |
false /* validate */, |
|
312 | 311 |
remoteServer); |
313 | 312 |
//increase usage |
314 | 313 |
dbConn.increaseUsageCount(1); |
Also available in: Unified diff
Add code to handle text node was splited.