On Oct 13, 2011, at 2:33 PM, Nguyen, Ricky wrote: > I submitted a patch for OODT-333, but also filed OODT-334.
Thanks Ricky, I'm taking a look. > > A fix for 334 could potentially affect backwards compatibility for XMLQuery. > The workaround is to always group your criteria and put RETURNs at the end. > Since this workaround is sufficient for now, I'll hold off on this issue > until the PMC's can comment on the correct syntax. Good question on OODT-334. Let me read more on the issue and think about it. Back compat is definitely a big concern... Cheers, Chris > > Thanks, > Ricky > > On Oct 13, 2011, at 11:01 AM, Nguyen, Ricky wrote: > >> Filed OODT-333 >> https://issues.apache.org/jira/browse/OODT-333 >> >> On Oct 13, 2011, at 10:53 AM, Sean Kelly wrote: >> >>>> Theoretically, could we also do this?: >>>> RETURN = foo AND (foo = 'yes' OR bar = 'no') AND RETURN = bar >>> >>> I haven't looked at the code in a while (and I tend to drink heavily ^_^) >>> but I believe that should be valid, yielding: >>> >>> - A constraint of "foo = 'yes' or bar = 'no'" >>> - A range of 'foo', 'bar'. >>> >>> --k >>> >> >> >> >> >> --------------------------------------------------------------------- >> CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, >> is for the sole use of the intended recipient(s) and may contain confidential >> or legally privileged information. Any unauthorized review, use, disclosure >> or distribution is prohibited. If you are not the intended recipient, please >> contact the sender by reply e-mail and destroy all copies of this original >> message. >> >> --------------------------------------------------------------------- >> > > > > > --------------------------------------------------------------------- > CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, > is for the sole use of the intended recipient(s) and may contain confidential > or legally privileged information. Any unauthorized review, use, disclosure > or distribution is prohibited. If you are not the intended recipient, please > contact the sender by reply e-mail and destroy all copies of this original > message. > > --------------------------------------------------------------------- > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: [email protected] WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
