On Mon, Feb 28, 2011 at 10:57 AM, Sadeep Jayasumana <[email protected]> wrote:
> Ex: > Resouce path: /_system/config/repository/dashboards/gadgets/images/bar.jpg > Media type: application/vnd.wso2-gadget+xml > > Resource path: > /_system/config/repository/dashboards/gadgets/images/gauge.jpg > Media type: application/vnd.wso2-gadget+xml > > How can *.jpg have "application/vnd.wso2-gadget+xml" as the media type? :) BTW Sadeep, I think we need to solve this from G-Reg PoV. There is a high chance for any random user to upload content with incorrect media type. Indexing should not fail b'cos of that. Logic should be, if we cannot index one resource, move to other. /sumedha > > +xml part in the media type suggests that the resource has XML content. > This leads to exceptions in GReg indexing. > > > -- > Sadeep Jayasumana > > Software Engineer > WSO2 Inc. > Email - [email protected] > Mobile - +94 77 22 66 507 > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
