Re: Problems With Implementing XMLDB API

2002-01-15 Thread Dare Obasanjo
- Original Message - From: "Kimbro Staken" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 14, 2002 9:11 PM Subject: Re: Problems With Implementing XMLDB API > There's a big difference between stating a respectful opinion and stat

Re: Problems With Implementing XMLDB API

2002-01-15 Thread Kimbro Staken
it for fun. -- THINGS TO DO IF I BECOME AN EVIL OVERLORD #59 I will never build a sentient computer smarter than I am. - Original Message - From: "Jonathan Borden" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 12, 2002 8:33 PM Subject: Re: Proble

Re: Problems With Implementing XMLDB API

2002-01-13 Thread Dare Obasanjo
er smarter than I am. - Original Message - From: "Jonathan Borden" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 12, 2002 8:33 PM Subject: Re: Problems With Implementing XMLDB API > Dare Obasanjo wrote: > > - Original Message - >

Re: Problems With Implementing XMLDB API

2002-01-13 Thread Jonathan Borden
Dare Obasanjo wrote: > - Original Message - > From: "Jonathan Borden" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, January 11, 2002 3:05 PM > Subject: Re: Problems With Implementing XMLDB API > > > > > Err, so "

Re: Problems With Implementing XMLDB API

2002-01-13 Thread Dare Obasanjo
- Original Message - From: "Jonathan Borden" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 12, 2002 8:11 PM Subject: Re: Problems With Implementing XMLDB API > Exactly, the XQuery 1.0 and XPath 2.0 data models have merged. If XML:DB is

Re: Problems With Implementing XMLDB API

2002-01-13 Thread Jonathan Borden
Jim Tivy wrote: > Hi folks > > This thread has got me thinking. What is returned from a query is a value. > What is a legal value should be defined in the API spec. XQuery has define > what a legal value is in their data model doc (see w3c data model doc). It > may be wise to adopt this as a val

RE: Problems With Implementing XMLDB API

2002-01-13 Thread Jim Tivy
Jim > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Dare Obasanjo > Sent: Saturday, January 12, 2002 7:48 PM > To: [EMAIL PROTECTED] > Subject: Re: Problems With Implementing XMLDB API > > > The valid return types from an XQuery

Re: Problems With Implementing XMLDB API

2002-01-13 Thread Dare Obasanjo
2, 2002 4:28 PM Subject: RE: Problems With Implementing XMLDB API > Hi folks > > This thread has got me thinking. What is returned from a query is a value. > What is a legal value should be defined in the API spec. XQuery has define > what a legal value is in their data model doc (see

RE: Problems With Implementing XMLDB API

2002-01-13 Thread Jim Tivy
With Implementing XMLDB API > > > - Original Message - > From: "Jonathan Borden" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, January 11, 2002 3:05 PM > Subject: Re: Problems With Implementing XMLDB API > > > > > E

Re: Problems With Implementing XMLDB API

2002-01-12 Thread Dare Obasanjo
- Original Message - From: "Jonathan Borden" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 11, 2002 3:05 PM Subject: Re: Problems With Implementing XMLDB API > Err, so "addResource" on a BinaryResource is OK _from an interface poi

Re: Problems With Implementing XMLDB API

2002-01-12 Thread Jonathan Borden
> > > > so? you also cannot store a book where SQL expects an int. > > > > Now I'm confused. > > What _good_ RDBMS API have you used that allows you to pass types that aren't > natively supported by the DB in update operations? > Just to recap I'll rewrite > the query that Kimbro agreed didn't mak

Re: Problems With Implementing XMLDB API

2002-01-11 Thread Dare Obasanjo
- Original Message - From: "Jonathan Borden" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 11, 2002 2:38 PM Subject: Re: Problems With Implementing XMLDB API > > so? you also cannot store a book where SQL expects an int. > Now I

Re: Problems With Implementing XMLDB API

2002-01-11 Thread Jonathan Borden
> The problem with this approach is that you have now created a Resource that > cannot be used in other situations where implementors of the Resource > interface can such as > > storeResource(Resource res) > Stores the provided resource into the database. > > in the Collection interface,

Re: Problems With Implementing XMLDB API

2002-01-11 Thread Jonathan Borden
Actually rather than. > > interface SimpleTypeResource extends Resource { > const STRING_TYPE = 1; > const INTEGER_TYPE = 2; > const FLOAT_TYPE = 3; > const DATE_TYPE = 4; > int getType(); > String getString(); > void setString(); > Integer getInteger() throws cast..

Re: Problems With Implementing XMLDB API

2002-01-11 Thread Dare Obasanjo
- Original Message - From: "Kimbro Staken" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 11, 2002 8:48 AM Subject: Re: Problems With Implementing XMLDB API > You're right in many cases that won't make sense, that doesn't ha

Re: Problems With Implementing XMLDB API

2002-01-11 Thread Dare Obasanjo
> To: <[EMAIL PROTECTED]> Sent: Friday, January 11, 2002 2:25 PM Subject: Re: Problems With Implementing XMLDB API > Dare Obasanjo wrote: > > > > > From the point of view of an implementor the XPathService returns > Resources > > within ResourceSets and this is way t

Re: Problems With Implementing XMLDB API

2002-01-11 Thread Jonathan Borden
Dare Obasanjo wrote: > > From the point of view of an implementor the XPathService returns Resources > within ResourceSets and this is way too coarse grained. In fact I feel the > concept of making ResourceSets the return value of XPath queries is a bad idea > for a few reasons > > 1.) It is incon

Re: Problems With Implementing XMLDB API

2002-01-11 Thread Kimbro Staken
rom: "Lars Martin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 11, 2002 1:32 AM Subject: Re: Problems With Implementing XMLDB API On Fri, 11 Jan 2002 02:16:46 -0700 Kimbro Staken <[EMAIL PROTECTED]> wrote: On Thursday, January 10, 2002, at 11:04

Re: Problems With Implementing XMLDB API

2002-01-11 Thread Dare Obasanjo
ike even the odds to give the other guy a sporting chance. - Original Message - From: "Lars Martin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 11, 2002 1:32 AM Subject: Re: Problems With Implementing XMLDB API > On Fri, 11 Jan 2002 02:1

Re: Problems With Implementing XMLDB API

2002-01-11 Thread Lars Martin
On Fri, 11 Jan 2002 02:16:46 -0700 Kimbro Staken <[EMAIL PROTECTED]> wrote: > > On Thursday, January 10, 2002, at 11:04 PM, Dare Obasanjo wrote: > > > > > > From the point of view of an implementor the XPathService returns > > Resources > > within ResourceSets and this is way too coarse grained.

Re: Problems With Implementing XMLDB API

2002-01-11 Thread Kimbro Staken
On Thursday, January 10, 2002, at 11:04 PM, Dare Obasanjo wrote: From the point of view of an implementor the XPathService returns Resources within ResourceSets and this is way too coarse grained. In fact I feel the concept of making ResourceSets the return value of XPath queries is a bad idea

Re: Problems With Implementing XMLDB API

2002-01-11 Thread Dare Obasanjo
- Original Message - From: "Kimbro Staken" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, January 10, 2002 6:06 PM Subject: Re: Problems With Implementing XMLDB API > > It seems that somewhere along the line whoever d

Re: Problems With Implementing XMLDB API

2002-01-11 Thread Kimbro Staken
On Thursday, January 10, 2002, at 06:57 PM, John Merrells wrote: It seems that somewhere along the line whoever designed the XML:DB API decided that XPath queries should return ResourceSets which seem to map to very coarse grained database objects like XML documents and BLOBs even though XPath qu

Re: Problems With Implementing XMLDB API

2002-01-11 Thread Kimbro Staken
On Thursday, January 10, 2002, at 09:37 PM, Dare Obasanjo wrote: Hi, I'm working on implementing Core Level 0 compliance over an NXD as part of a project I'm working on and have bumped against a problem. Please use the [EMAIL PROTECTED] mailing list for discussions about the API. It seems