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.includes method
> (1.2-M1), it says:
>
> } else if (getSubType().startsWith("*+")
> && included.getSubType().endsWith(
> getSubType().substring(1))) {
> result = true;
> }
>
> Ans seems to me the answer is false.
>
> Which should be the correct answer?
>
> --
> Cheers,
> Keke
> -----------------
> We paranoid love life
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1169668