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 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
queries can return strings, booleans, numbers and node lists. Reconciling both
these realities would involve a less than trivial amount of workarounds to
what I think is fundamental flaw in the XML:DB API design.


Is there any rationale behind ResourceSets and Resources being the most
granular objects that can be returned by XPath queries?


Yes, because a Resource is an abstraction for any kind of data that can be stored within the database. Right now the limitation is not in the fact that it returns resources but that it returns an XMLResource and an atomic value is not XML. This only affects XPath queries that return atomic values, node lists map into a list of resources. This is a known issue that I was hoping to address in the next revision of the API. We can discuss how on the API list. This isn't the W3C, there is no cost to participate and we could use the help.


Please direct replies to the xapi-dev list only.

--
THINGS TO DO IF I BECOME AN EVIL OVERLORD #44
I will only employ bounty hunters who work for money. Those who work for the
pleasure of the hunt tend to do dumb things like even the odds to give the
other guy a sporting chance.



_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.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/
----------------------------------------------------------------------

Reply via email to