From: Wolfgang M. M. <wol...@us...> - 2004-04-14 12:18:03
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/xmldb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20167/src/org/exist/xmldb Modified Files: RemoteIndexQueryService.java DatabaseImpl.java RemoteCollection.java LocalXPathQueryService.java Log Message: Improved page organization in dom.dbx to fix known XUpdate issues. Index: LocalXPathQueryService.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/xmldb/LocalXPathQueryService.java,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** LocalXPathQueryService.java 25 Mar 2004 12:50:51 -0000 1.35 --- LocalXPathQueryService.java 14 Apr 2004 12:17:22 -0000 1.36 *************** *** 1,2 **** --- 1,24 ---- + /* + * eXist Open Source Native XML Database + * Copyright (C) 2001-03 Wolfgang M. Meier + * wol...@ex... + * http://exist.sourceforge.net + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * $Id$ + */ package org.exist.xmldb; Index: DatabaseImpl.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/xmldb/DatabaseImpl.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** DatabaseImpl.java 29 Jan 2004 15:06:43 -0000 1.11 --- DatabaseImpl.java 14 Apr 2004 12:17:22 -0000 1.12 *************** *** 243,247 **** public String getProperty( String property ) throws XMLDBException { if ( property.equals( "create-database" ) ) ! return new Boolean( autoCreate ).toString(); if ( property.equals( "database-id" ) ) return dbName; --- 243,247 ---- public String getProperty( String property ) throws XMLDBException { if ( property.equals( "create-database" ) ) ! return Boolean.valueOf( autoCreate ).toString(); if ( property.equals( "database-id" ) ) return dbName; Index: RemoteCollection.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/xmldb/RemoteCollection.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** RemoteCollection.java 16 Feb 2004 13:02:16 -0000 1.10 --- RemoteCollection.java 14 Apr 2004 12:17:22 -0000 1.11 *************** *** 451,455 **** params.addElement(data); params.addElement(getPath() + '/' + res.getId()); ! params.addElement(new Boolean(true)); try { rpcClient.execute("storeBinary", params); --- 451,455 ---- params.addElement(data); params.addElement(getPath() + '/' + res.getId()); ! params.addElement(Boolean.TRUE); try { rpcClient.execute("storeBinary", params); *************** *** 483,487 **** params.addElement(fileName); params.addElement(getPath() + '/' + res.getId()); ! params.addElement(new Boolean(true)); rpcClient.execute("parseLocal", params); } catch (FileNotFoundException e) { --- 483,487 ---- params.addElement(fileName); params.addElement(getPath() + '/' + res.getId()); ! params.addElement(Boolean.TRUE); rpcClient.execute("parseLocal", params); } catch (FileNotFoundException e) { Index: RemoteIndexQueryService.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/xmldb/RemoteIndexQueryService.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** RemoteIndexQueryService.java 16 Feb 2004 13:02:16 -0000 1.3 --- RemoteIndexQueryService.java 14 Apr 2004 12:17:22 -0000 1.4 *************** *** 40,44 **** Vector params = new Vector(); params.addElement(parent.getPath()); ! params.addElement(new Boolean(inclusive)); Vector result = (Vector) rpcClient.execute("getIndexedElements", params); Occurrences occurrences[] = new Occurrences[result.size()]; --- 40,44 ---- Vector params = new Vector(); params.addElement(parent.getPath()); ! params.addElement(Boolean.valueOf(inclusive)); Vector result = (Vector) rpcClient.execute("getIndexedElements", params); Occurrences occurrences[] = new Occurrences[result.size()]; *************** *** 75,79 **** params.addElement(start); params.addElement(end); ! params.addElement(new Boolean(inclusive)); Vector result = (Vector) rpcClient.execute("scanIndexTerms", params); Occurrences occurrences[] = new Occurrences[result.size()]; --- 75,79 ---- params.addElement(start); params.addElement(end); ! params.addElement(Boolean.valueOf(inclusive)); Vector result = (Vector) rpcClient.execute("scanIndexTerms", params); Occurrences occurrences[] = new Occurrences[result.size()]; |