On Thu, Aug 9, 2012 at 10:04 AM, Jason King <[email protected]> wrote:
> I'm thinking I will just leave returnFormat blank (since then it > defaults to WDDX and I don't have to declare it if I want WDDX) and if > the API user wants it differently, they can just add the > BDRETURNFORMAT argument. > > Sound reasonable? > Short answer, not really. :-) You don't want to force any implementation-specific stuff like that up into the API. At most if you're giving people the option of a return format (e.g. xml vs. json) you'd want them to specify that in a very generic way. Personally I'd like to get to the bottom of why it's returning things that way since I've run into that in a couple of situations myself, so let me see if I can come up with some isolated, simple examples of "here's what I'm doing, here's what I think I should get back, here's what I'm getting back instead" so maybe Andy and Alan can dig into things a bit. -- Matthew Woodward [email protected] http://blog.mattwoodward.com identi.ca / Twitter: @mpwoodward Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments. http://www.gnu.org/philosophy/no-word-attachments.html -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en
