From: Wolfgang M. M. <wol...@us...> - 2004-09-12 13:12:33
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/xmldb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4679/src/org/exist/xmldb Modified Files: LocalCollection.java Log Message: Replaced all occurrences of new URI(file.toURL().toString()).toASCIIString(); to file.toURI().toASCIIString(); (patch by Piotr). Index: LocalCollection.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/xmldb/LocalCollection.java,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** LocalCollection.java 12 Sep 2004 09:25:15 -0000 1.43 --- LocalCollection.java 12 Sep 2004 13:12:21 -0000 1.44 *************** *** 571,576 **** String name = res.getDocumentId(); String uri = null; ! if(res.file != null) ! uri = new URI(res.file.toURL().toString()).toASCIIString(); DocumentImpl newDoc; Collection collection = broker.openCollection(path, Lock.WRITE_LOCK); --- 571,575 ---- String name = res.getDocumentId(); String uri = null; ! if(res.file != null) uri = res.file.toURI().toASCIIString(); DocumentImpl newDoc; Collection collection = broker.openCollection(path, Lock.WRITE_LOCK); |