On Wed, 23 Apr 2003 22:01:08 +0200
"Louis Cornet" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am taking a look at the list of the implementations of the XML:DB API
> on the XML:DB website. I can see several projects such as dbXML, eXist
> and Ozone. I recall that Apache Xindice was in this list (I che
while. :o)
Regards, Lars.
--
______
Lars Martin mailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com
D-04347 LeipzigRohrteichstrasse 18
Tel: +49-(0)341-699 46 04
>>I have noticed a lot of code like:
>>
>>} catch (Exception e) {
>>throw new XMLDBException( blah, e.getMessage() );
>>}
>>
>>which is really hard to work with when debugging, as most of
>>the information about the exception is lost.
Of course, they don't use the chained exception mechanism
There is a request from the eXist group that we remove the final modifier=
on=20
XMLDBException so that they could use subclasses of XMLDBException in ord=
er=20
to get clearer stacktraces. Below are some details of the conversations o=
n=20
the list:
___
> I have noticed a lo
gt; few methods which return arrays, but none which return an Iterator).
> In addition, having the entries in a String[] saves users from casting
> Iterator contents to Strings when iterating through them.
Sounds all reasonable. I'll try to update the API and sample apps and
let you kno
for a single name and a sequence of names?
Does registerDatabase() need to retrieve names through both getters?
I see getName() as a special case of getNames() so may be we should
omit the getName() method?
Kindest regards, Lars
--
______
, you could go with a getName()
> returning an XML string.
Because it's a new release of XML:DB API we should extend the current
API to provide a new method "getNames()" in addition to "getName()".
Any objection? Per? Kimbro?
Regards, Lars.
--
Begin forwarded message:
Date: Tue, 19 Nov 2002 13:26:55 +0100 (CET)
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
From: Marko Petersen <[EMAIL PROTECTED]>
Subject: API UsesCases - updating DOM
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Virus-Scanned: by amav
>
> Method will only be added (and not removed or their signature modified)
> so it shouldn't be a problem.
Ok, then please go ahead.
Kindest regards, Lars
--
______
Lars Martin
lp to make development of vendor implementations like
Xindice and application development easier I'm +1. What about backward
compatibility?
> I'm volunteering to do it if you decide to go in that direction.
Sounds great.
Regards, Lars
--
_____
ot;.
Wolfgang can you send an example of usage to the mailing list so
that every interested developer can read/understand your intention
to introduce an "configure()" method!?
Thanks, Lars.
--
__
Lars Martin
> to the org.xmldb.api.base.Database interface?
>
> +1
>
> from one of the Xindice guys
Other opinions?
What about the "Configurable" interface? "Database" extends this
interface. What do you mean by a "very good support"?
Regards, Lars
--
__
aseImpl)
((org.exist.xmldb.DatabaseImpl)db).configure(confFile);
DatabaseManager.registerDatabase( db );
Wolfgang
--
__
Lars Martin mailto:[EMAIL PROTECTED]
SMB GmbH
ntation for Xalan2. It should be easy to add this impl
to the XAPI CVS as well.
Thanks, Lars.
--
__
Lars Martin mailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com
Tel: +49-(0)341
ards, Lars
--
__
Lars Martin mailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com
Tel: +49-(0)341-699 46 04Fax: +49-(0)341-699 47 04
Product
r to the database backend?
Regards, Lars.
--
______
Lars Martin mailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com
--
Post a message:
x27;re
> interested, please contact me to see how we can work it out.
We have some tests for XUpdate and I think it could be usefull to have
also some tests for the XML:DB API implementation. We could give you a
CVS account so that you could maintain this test suite.
Kindest regards,
ce implementation from which other implementations can take their
cue.
--
______
Lars Martin mailto:[EMAIL PROTECTED]
SMB GmbH
.
--
__
Lars Martin mailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com
--
Post a message: mailto:[EMAIL PROTECTED
archive, it seems that there has been no activity
since December 2001? Is anyone out there? Is the XML DB API still
evolving? Has it moved? Been taken over? Abandoned?
Respectfully,
Charles W. Stanton
Software Systems Engineer
--
on.storeResource() method that the description says
"it stores the resource into the database." I think it is better to say
the method store the resource in the collection since we are at the
Collection abstraction!
regards,
Nader Mirzadeh
Lars Martin wrote:
>On Mon, 08 Jul 2002
wer api-docs?
>
> Yours truly
> Andreas Gerold
Hello Andreas,
you will find the package in the CVS: cvs.smb-tec.com
or via webcvs: http://www.smb-tec.com/cgi-bin/cvsweb.cgi/xmldb/xapi
Read http://www.xmldb.org/projects.html for CVS usage.
Regards, Lars.
--
Begin forwarded message:
Date: Tue, 16 Apr 2002 14:45:28 +0200 (CEST)
Hi all, please forgive my cross posting but:
The XML:DB web site is back online now!
Thanks all for assistance, Lars.
--
__
Lars Martin mailto:[EMAIL PROTECTED]
SMB GmbH
gt;
> I wish we could do this, unfortunately the API really does need to be
> language independent. We could of course name things the same as Java
... yup, that's the point to pay attention!
> since it is the most common implementation language. Whether it's really
Hi Paul, I forard your questions to the XAPI Developer list. Please,
subscribe the list before sending any Emails. Point your browser to
http://www.xmldb.org/projects.html to read about mailing list
subscription. Thanks, Lars.
Begin forwarded message:
ueries return
> > WHOLE class instances and not fields or computed values.
> >
> > I think, however you slice it there needs to be a seperate class of
> > objects
> > returned by querys that are not as strongly related to Resources.
--
___
On Mon, 7 Jan 2002 11:16:57 +0100
Lars Martin <[EMAIL PROTECTED]> wrote:
> > Now I am doing some projects of dbxml,but meet some problems to list the =
> > file name of the xml documents in a specific collection.
> > I do not know how to acquire a specific collection obje
But your're right here: this question just not come up before.
Regards, Lars.
--
__
Lars Martin mailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com
use the methods provided by =
> the collection object.=20
> Could you please give me some suggestions to lead me out of the hot =
> water?=20
> Thank you for your kind assistance!
>
> Donghua Deng
> [EMAIL PROTECTED]
--
__
On Wed, 12 Dec 2001 14:50:32 +0100
Lars Martin <[EMAIL PROTECTED]> wrote:
> > I'm developing Java-Servlets using Forte4java and when compiling or debugg=
> > ing in Forte it looks fine.
> > But when I try to enter the servlet-adress manually in my browser (localho=
problem including the requisite prefix/namespace bindings
> on an element in the XUpdate document itself.
>
> If I am missing something could you provide an example of what needs to be
> done?
>
> Jonathan
--
__
TANCE_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 af
nd some information back to=
> the browser.
>
> Is there any special configuration missing for JServ or xmldb=3F Is there an=
> y how-to available for this special constellation=3F
> Is there anybody who can give me some hints=3F=3F=3F
--
___
On Mon, 3 Dec 2001 14:21:19 -0800
"John Merrells" <[EMAIL PROTECTED]> wrote:
>
> > Yes the Java API has database specific drivers with a DriverManager
> > concrete class for bootstrap as part of the jar containing the XML:DB API
> > interfaces.
>
> Yeah - I noticed the DriverManager, but it's no
use an IDL compiler or did you map the IDL files by hand?
Kindest regards,
Lars
--
______
Lars Martin mailto:[EMAIL PROTECTED]
SMB GmbH
Sourceforge to gain new momentum.
The second problem is that the TransactionService is not finalized
yet, because transactions don't have top priority.
Regards, Lars.
[1] http://www.ozone-db.org
--
______
Lars Martin
t; Is anyone interested in working on one?
>
> John
--
______
Lars Martin mailto:[EMAIL PROTECTED]
SMB GmbHhttp
0
> might want to do just a Selection, or a Selection and
> then a Projection, or Select and Project in one go.
--
______
Lars Martin mailto:[EMAIL PROTECTED]
SMB GmbH
t most early work has
> > been done in Java. Implementations in other languages are also of great
> > interest.
> >
> > [1] http://www.dbxml.org
> > [2] http://exist.sourceforge.net
> > [3] http://www.ozone-db.org
&
e SAX parser of your choice.
Regards.
--
______
Lars Martin mailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com
--
Post a message:
IL PROTECTED]
> Subject: Re: XPath in reference implementation ...?
>
>
> I know it was working. I haven't run the tests in a while but I don't
> think anything has changed. Are you maybe using a different version of
> Xalan?
>
> On Monday, August 13, 2001, at 03
ong XPath assembled by my application.
> On Monday, August 13, 2001, at 03:03 AM, Lars Martin wrote:
>
> >
> > Has somebody tested the XPath query service provided by the reference
> > implementation? I'm unable to use the XPath service but I don't know
> > what t
pty
output.
--
__
Lars Martinmailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com
--
Post a message: mailto:[EMAIL PROTECTED]
Unsubscribe:mai
o as far as the lightweight, and
> implementation independent aspects of the API, it fits right in line
> with everything else we've done.
Well-spoken. :-)
Regards,
Lars
--
__
Lars Marti
ne would be absolutely necessary.
>
> Another option here would be to have a setNameSpace(string prefix, string
> uri) method on XPathQueryService itself.
Even if I like #4, I would say that "setNameSpace()" would be the
modicum of effort and would match our goal to provide a thin API.
Regards,
Lars
--
_
On Wed, 25 Jul 2001 14:17:01 +0200
Jeremias Maerki <[EMAIL PROTECTED]> wrote:
> Hi
>
> While testing my stuff I stumbled across a bug in SetContentHandler. It
> does not work properly with default namespaces (mailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb
On Mon, 23 Jul 2001 09:10:32 -0700
Kimbro Staken <[EMAIL PROTECTED]> wrote:
>
> On Monday, July 23, 2001, at 08:59 AM, Lars Martin wrote:
> >
> > Do you mean the discussion with the Jochen Wiedman (Software AG) here
>
> This is from the thread XPath Queries: Reso
perly.
> After this update I also want to make the existence of the API more widely
> known and issue a call for implementations.
I hope that Per Nyfelt is able to provide the implementation of the
XML:DB API. With this we could announce 2 + 1 ref implementations.
--
_
e base is
very important here. Of course, other programming languages are
appreciated.
--
__
Lars Martinmailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com
as a
> template.
The problem is that a Parser or ParserAdapter is not involved here.
But I could imagine to write a wrapper class which transforms the
catched SAX2 events to SAX1 events...
--
__
Lars Martin
ages
only accept SAX1, but the XML:DB API provides a ContentHandler (SAX2).
Lars
--
__
Lars Martinmailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com
--
ion
block.
// automatically register database via static block
Class.forName( "org.xmldb.api.reference.DatabaseImpl" );
// get root collection from DatabaseManager
Collection collection = DatabaseManager.getCollection ( uri );
...
--
On Tue, 17 Jul 2001 13:04:58 -0700
Kimbro Staken <[EMAIL PROTECTED]> wrote:
> No comments.
Ok. It's in CVS.
What about automatically register a Database when creating a new
instance of this Database? (see my previous posting)
>
> On Tuesday, July 17, 2001, at 07:22 A
Any comments before commiting?
--
______
Lars Martinmailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com
-
ister database driver
Database database = (Database)
(Class.forName( "org.xmldb.api.reference.DatabaseImpl" ).newInstance());
// get root collection
Collection = DatabaseManager.getCollection( url );
--
___
On Mon, 18 Jun 2001 18:51:05 +0200
Lars Martin <[EMAIL PROTECTED]> wrote:
>
> On Mon, 18 Jun 2001 11:50:30 +0200
> "Per Nyfelt" <[EMAIL PROTECTED]> wrote:
>
> > Thanks for the prompt response Kimbro.
> > If it is implemented as a service wo
collection hierarchy.
Lars
--
______
Lars Martinmailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com
--
Post a message: mailto:[
On Thu, 14 Jun 2001 14:27:07 +0200
"Per Nyfelt" <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Behalf Of Lars Martin
> > Sent: den 14 juni 2001 10:57
> > To: [EMAIL P
s case.
>
> query(string xpath, string namespaceContext)
>
> Is there a better/more elegant way to handle this?
In general I agree. What do you mean by "a snippet of XML"? Something
like the string "xmlns:xyz=http://www.abc.com/xyz/"; ?
--
______
t a message: mailto:[EMAIL PROTECTED]
> Unsubscribe:mailto:[EMAIL PROTECTED]
> Contact adminstrator: mailto:[EMAIL PROTECTED]
> Read archived messages: http://archive.xmldb.org/
> --
--
___
urce really is - e.g. String for XMLResource - then
this is (getContent) a good choice for me. On the other hand I see
the advantage of XMLResource.getContentAsText() but then the Resource
interface is obsolete except for the common super class/interface of
all pos
e make a change.
Of course, I'm not against such extensions. If there are multiple shared
methods a common QueryService interface makes perfectly sense.
--
______
Lars Martinmailto:[
On Tue, 22 May 2001 10:21:10 -0700
Tom Bradford <[EMAIL PROTECTED]> wrote:
> Lars Martin wrote:
> > > I have just downloaded v0.6 and ran the APIExample. Everything works
> > > fine, now what do I add/change to allow me to run this on a different
> > > server
tion, doesn't it? Anybody here
from the dbXML team? ;-)
Lars
--
______
Lars Martinmailto:[EMAIL PROTECTED]
SMB GmbH
On Tue, 22 May 2001 07:39:47 -0700
Tom Bradford <[EMAIL PROTECTED]> wrote:
> Lars Martin wrote:
> > > 2. It's not so easy to understand why Collection.getResources() returns
> > > a String[] of IDs and XPathQueryService.query() returns a
> > > ResourceIt
:DB.
Anyway, every kind of help is welcome and if you're interested to volunteer,
check out the latest CVS and have a look at the sources. Again, any
help is welcome. :-)
> The XML:DB API, so far, is exactly what I need. So I guess the project
> is on the right track.
Gre
f-made solution?
Regards,
Lars
--
______
Lars Martinmailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com
--
thanks. I didn't realize this modification.
> Kimbro Staken
> Chief Technology Officer
> The dbXML Group L.L.C.
> http://www.dbxmlgroup.com
> - Original Message -
> From: "Lars Martin" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> C
n be exposed by a driver as a Collection, but actually
> creating one of those Collection scenarios is a bit more complex than
> just calling createCollection.
Tom, thanks for your explanations. :-) I now see what you mean. See my
answer to Kimbros posting.
--
How do I
specify a Resource that provides a SAX interface? Either resourceType
can be of any of these types (DOM, SAX, XML, Binary) or this parameter
must be renamed.
Lars
--
______
Lars Martin
On Mon, 30 Apr 2001 21:14:42 +0200
Lars Martin <[EMAIL PROTECTED]> wrote:
>
> Hmm, I don't fully understand this. :-/ I see the lot of work to be
> done to map from hierarchical structure to flat relational tables and
> back. Ok, so far. But where is the differenc
t it leads to
> inconsistency between the clean way and the various ways mapping vendors
> are implementing it.
>
> Of course, the same applies to dropping Collections.
--
__
Lars Martin
methods for removing collections
Ideas?
Lars
--
______
Lars Martinmailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com
do have the same expectations here.
> Are collections closer to tables? That is, a set of things that share
> the same schema? If so, what are the end user benefits of this? Do I get
> automatic schema validation? Automatic indexing? etc.
Lars
--
___
I propose the attached patch for XMLDBException.java. This patch
allows developers to use the given message for debugging.
(e.g. exception.toString())
--
__
Lars Martinmailto:[EMAIL PROTECTED
; Post a message: mailto:[EMAIL PROTECTED]
> Unsubscribe:mailto:[EMAIL PROTECTED]
> Contact adminstrator: mailto:[EMAIL PROTECTED]
> Read archived messages: http://archive.xmldb.org/
> --
--
__
Lars Martin
--
>
> --
> Post a message: mailto:[EMAIL PROTECTED]
> Unsubscribe: mailto:[EMAIL PROTECTED]
> Contact adminstrator: mailto:[EMAIL PROTECTED]
> Read archived messages: http://archiv
How will the "sequence" type in IDL be mapped to Java? Do I have to use
a simple array (e.g. Resource[]) or can I also use Java2 Collections?
--
__
Lars Martinmailto:[EMAIL PROTECTED
ch "bootstrap" functionality
as well.
Regards,
Lars
--
______
Lars Martinmailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com
---
is this true?
IMO, a Stream is a basic term which most (all?) languages provide.
Lars
--
__
Lars Martinmailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.c
.
--
__
Lars Martinmailto:[EMAIL PROTECTED]
SMB GmbHhttp://www.smb-tec.com
--
Post a message: mailto:[EMAIL
riginal posting:
------
Lars Martin wrote:
>
> Please, let's move these technical discussions to the proper XAPI-DEV
> list. I CC this to the general mailing list because most people aren't
> subscribed to the XAPI-DEV list yet.
xml-dev see
forum.
> > Besides this, I would like to know what advantages do *you* expect to
> > have with live DOM?
>
> Concurrent access, anyone?
Ok, this is one important argument.
Lars
--
______
800
Ronald Bourret <[EMAIL PROTECTED]> wrote:
> Lars Martin wrote:
> > I'm not sure about this. Does it shouldn't be always the same return
> > type (live vs. copy) to avoid confusion? If so, I prefer a copy of the
> > retrieved node / node set.
>
> Unless
a property to choose
> between them.
I'm not sure about this. Does it shouldn't be always the same return
type (live vs. copy) to avoid confusion? If so, I prefer a copy of the
retrieved node / node set.
Lars
--
____
OM, SAX, test, binary?
But the return type is not the most important point, because it is
"wrapped" through an abstract resource interface.
> Which ones are actually used would depend on the service. For example,
> XPath returns node sets, while XQuery (I think) only returns
87 matches
Mail list logo