Re: [sdw] WebVMT: use JSON instead of XML for cue content?

@tidoust Thanks for raising this. I'm thinking along similar lines after Monday's meeting.

My current feeling is that JSON is a better solution than XML for exactly the reasons you cite. The proposed WebVMT data structures can be implemented in JSON and read using `JSON.parse` as you suggest. I notice that WebVTT's [metadata example](https://www.w3.org/TR/webvtt/#introduction-metadata) uses JSON, so its designers also had this in mind.

I've considered a VMTML idea too (akin to TTML), but I'm shelving this for now to keep the original aim of mirroring WebVTT's design with a file linked to the <track> element.

It's important that we resolve this quickly and correctly, as I'm just about to start writing the file format in the [Editor's Draft](http://w3c.github.io/sdw/proposals/geotagging/webvmt/) so that early adopters can begin to implement it.

Many thanks for your input.

-- 
GitHub Notification of comment by rjksmith
Please view or discuss this issue at https://github.com/w3c/sdw/issues/1077#issuecomment-422719249 using your GitHub account

Received on Wednesday, 19 September 2018 09:05:31 UTC