Dear Greg, dear Frans,
you might as well be interested in using our own API - the examples [1] are straight forward, many of our users feel it's comfortable to use. I do not know what you are working on and whether you rely on xmldb-api a lot, it might be worth a quick look anyway.
But back to your issue: Seems you are right, it really looks like the String[] getNames() method was introduced to replace String getName(). I will see if this can easily be fixed, I am not really into xmldb-api, but if the getName[s]() method is the only difference between our version and the latest version from 11/11/2011 [2] this should not be too hard.
Thanks for reporting and sorry for the inconvenience.
Kind Regards Michael
[1] http://docs.basex.org/wiki/Code_Examples (QueryExample, RunCommands) [1.1] http://docs.basex.org/wiki/XMLDBQuery has an example for xmldb usage [2] http://sourceforge.net/projects/xmldb-org/files/xapi/api/
Am 29.03.2011 um 23:37 schrieb Meredith Gregory:
Dear Frans,
Thanks for the quick response! i was groveling through the code and coming to the same conclusion.
Best wishes,
--greg