[whatwg] microdata questions

Eric Devine devineej at gmail.com
Mon Feb 10 10:42:36 PST 2014


I found the answer to my first question "application/microdata+json" from
W3C, but I would still appreciate feed back on my second question below.

Thanks,
Eric


On Mon, Feb 10, 2014 at 11:16 AM, Eric Devine <devineej at gmail.com> wrote:

> 1. Section 5.5.1 of the Microdata spec prescribes how microdata should be
> respresented as JSON, but it does provide a MIME type. I'm writing a REST
> API that I would like to be able to return JSON in microdata format, but I
> need the client to explicitly request this via the HTTP Accept header. The
> main concern is to know when to return plain properties as an array with
> one element.
>
> 2. Section 5.2.4 does not provide a way to apply a property value to the
> value attribute of an <option> element. Is this an oversight, or is there
> simply not a convincing enough use case for the need?
>
> Thanks for any feedback,
> Eric Devine
>


More information about the whatwg mailing list