RE: Re: Re: MediaType: should application/xml be compatible with application/*+xml?

2013-11-06 Thread Andy Dennie
I took a closer look today, and it's not the ignoreParameters that's at fault (in fact, it should be considered included regardless of whether ignoreParameters is true or false, since ignoreParameters applies to "this" and not "included", and "this" has no parameters). I think the fix would be

Re: Re: MediaType: should application/xml be compatible with application/*+xml?

2013-11-06 Thread Jerome Louvel
Hi Andy :) Yes, this should be the case. Did you try to set the ignoreParameters option on the includes() method? Jérôme 2013/11/5 Andy Dennie > 4 1/2 years later, I have a follow-up question :-) > > shouldn't > "application/json" > include > "application/vnd.foo.bar-baz-v1+json; lev

RE: Re: MediaType: should application/xml be compatible with application/*+xml?

2013-11-05 Thread Andy Dennie
4 1/2 years later, I have a follow-up question :-) shouldn't "application/json" include "application/vnd.foo.bar-baz-v1+json; level=3" ? -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3067938

Re: MediaType: should application/xml be compatible with application/*+xml?

2009-02-16 Thread Thierry Boileau
Hello, I agree with you, I think it should be true. I've just fixed the svn repository. Thank you for the report. best regards, Thierry Boileau > Hi, > > As title, should mediatype application/xml be compatible with > application/*+xml? > > I thought it should be true, but In MediaType.include

MediaType: should application/xml be compatible with application/*+xml?

2009-02-15 Thread keke
Hi, As title, should mediatype application/xml be compatible with application/*+xml? I thought it should be true, but In MediaType.includes method (1.2-M1), it says: } else if (getSubType().startsWith("*+") && included.getSubType().endsWith(