Stian Soiland wrote:

On 6 Jun 2007, at 10:46, Jim Alateras wrote:

I am not so sure of this.. in particular using /2003-03-03/2005-05-50 as it implies an hierarchy where there is something at /2003-03-03. If you go for this approach, use "," to separate the two dates as they are tied together in the range. (or ";", but mr. "RESTful web services" recommend ";" as separation when the order doesn't matter, and "," when they do
do you have a reference for this.

http://www.amazon.co.uk/RESTful-Web-Services-Leonard-Richardson/dp/0596529260/ref=pd_bbs_sr_1/026-3362080-3114036?ie=UTF8&s=books&qid=1181124251&sr=8-1

I don't remember which page, but I can check that up at home.

Recommended reading, really good :-)

I've actually got the ebook on my o'reilly safari bookshelf so will have a look that section.

It is definitely a well written book.

There's even some example code using Restlet.


matter. The ISO-8601 standard for a date range is to use a / as separation, so with that justification using / might be OK! :-) )

so use commas for range expression and semi-colons for a matching against a set of values.

registrationDate=fromDate,toDate
make=holden;toyota;ford

Mmm.. this looks good. And if no commas, then it would have to match exactly, right? (at least ignoring the date)
yep.



it does become a little long winded when it comes to supporting a '> and <' expression on some property types.

Yeah, easy to spend lots of time on features nobody would use :-)



cheers
</jima>

Reply via email to