Re: Bug in DatabaseImpl

2001-12-12 Thread Kimbro Staken
This is fixed in CVS.

On Wednesday, December 12, 2001, at 07:03 AM, Lars Martin wrote:

Hi Maxim, I forward your question to the list because you are not
subscribed. Please, subscribe to the list before sending mails to
the list. Thanks, Lars.
Here you'll find information about how to subscribe:
http://www.xmldb.org/projects.html

From [EMAIL PROTECTED]  Tue Dec 11 15:00:44 2001
Return-Path: <[EMAIL PROTECTED]>
From: maxim volgin <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: Bug in DatabaseImpl
Date: Tue, 11 Dec 2001 15:00:36 +0100
	charset="koi8-r"

if((s3 = getProperty("xmldb.data.dir")) == null)
s3 = "data";
File file = new File(s3);
if(!file.isDirectory())
file.mkdir();
String s4 = s.substring(SimpleDatabase.INSTANCE_NAME.length() +
"://".length(), s.length());
try
{
return new CollectionImpl("data" + s4);
In the last line, "data" is used instead of s3. Thus, property
"xmldb.data.dir" doesn't affect collection path.
Regards,
  Maxim.
--
__
Lars Martin mailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com
--
Post a message: mailto:[EMAIL PROTECTED]
Unsubscribe:mailto:[EMAIL PROTECTED]
Contact administrator:  mailto:[EMAIL PROTECTED]
Read archived messages: http://archive.xmldb.org/
--

Kimbro Staken
XML Database Software, Consulting and Writing
http://www.xmldatabases.org/
--
Post a message: mailto:[EMAIL PROTECTED]
Unsubscribe:mailto:[EMAIL PROTECTED]
Contact administrator:  mailto:[EMAIL PROTECTED]
Read archived messages: http://archive.xmldb.org/
--


Re: Bug in DatabaseImpl

2001-12-12 Thread Lars Martin

Hi Maxim, I forward your question to the list because you are not
subscribed. Please, subscribe to the list before sending mails to
the list. Thanks, Lars.

Here you'll find information about how to subscribe: 
http://www.xmldb.org/projects.html


> From [EMAIL PROTECTED]  Tue Dec 11 15:00:44 2001
> Return-Path: <[EMAIL PROTECTED]>
> From: maxim volgin <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject: Bug in DatabaseImpl
> Date: Tue, 11 Dec 2001 15:00:36 +0100
>
>   charset="koi8-r"
> 
> if((s3 = getProperty("xmldb.data.dir")) == null)
> s3 = "data";
> File file = new File(s3);
> if(!file.isDirectory())
> file.mkdir();
> String s4 = s.substring(SimpleDatabase.INSTANCE_NAME.length() +
> "://".length(), s.length());
> try
> {
> return new CollectionImpl("data" + s4);
> 
> 
> In the last line, "data" is used instead of s3. Thus, property
> "xmldb.data.dir" doesn't affect collection path.
> 
> 
> Regards,
>   Maxim.
--
__
Lars Martin mailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com

--
Post a message: mailto:[EMAIL PROTECTED]
Unsubscribe:mailto:[EMAIL PROTECTED]
Contact administrator:  mailto:[EMAIL PROTECTED]
Read archived messages: http://archive.xmldb.org/
--