On 12/9/07, Jerome Louvel <[EMAIL PROTECTED]> wrote: > > Hi Alex, > > You can currently customize this setting by providing a custom > MetadataService and overriding the addCommonExtensions() method. > > You then set the custom service on your application: > > myApplication.setMetadataService(new MyMetadataService()); > > Wouldn't it be sufficient? You can always decide to externalize the > configuration if you prefer, in the format that suits you the best.
Sufficient to fix my current problem but the fact that it doesn't know by default what extension to given application/xml. I would expect restlet to handle this without a custom service. Similarly, and would expect the ability to configure restlet's media type mappings to work without a custom service. --Alex Milowski

