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 have to be the case though. The resource instance

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

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

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 designed the XML:DB API decided that

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 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, since

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'm confused. What _good_ RDBMS API have you