RE: Bug in Directory handler

2006-12-29 Thread Jerome Louvel
Hi Sean, Thanks for the report, I was able to simply reproduce it by creating a test directory: http://www.restlet.org/downloads/test/ We'll integrate your fix to 1.0 RC2. Best regards, Jerome -Message d'origine- De : news [mailto:[EMAIL PROTECTED] De la part de Sean Landis

RE: Testing Application problems

2006-12-29 Thread Jerome Louvel
Hi Alex, Oh right! If you rely on client connectors, then you will need to set-up a parent Component otherwise your context won't have a proper context's dispatcher as required by the Directory class. So, it seems best to setup a component with the client connectors, a virtual host and your

RE: handling multiple representations of a resource

2006-12-29 Thread Jerome Louvel
Hi Sumit, You raised an important point. In the past there was indeed two separate methods, one returning a list of variants metadata and another returning an actual representation based on the selected variant. In many cases, this separation was a burden, especially when the representation

First snapshot of 1.0 RC2

2006-12-29 Thread Jerome Louvel
Hi all, There is a first snapshot of RC2 at: http://www.restlet.org/downloads/current.zip It contains the following changes: [Bugs fixed] - Fixed minor bug with the URI parsing (query sign ? inside fragment). Contributed by Thierry Boileau. - Fixed bug in the dynamic invocation of custom

Re: handling multiple representations of a resource

2006-12-29 Thread Sumit Lohia
Jerome Louvel contact at noelios.com writes: So, here are the changes that I made: - split Representation class into a new Variant class (containing all metadata properties) and into a lighter Representation class. Variant is a subclass of Resource and Representation a subclass of Variant.