W3C home > Mailing lists > Public > public-pronunciation@w3.org > July 2020

SSML attributes vs embedded

From: Alan Reeve <alan.reeve@cambiumassessment.com>
Date: Mon, 20 Jul 2020 15:27:31 +0000
To: "public-pronunciation@w3.org" <public-pronunciation@w3.org>
Message-ID: <240d6ae5805f41a68e2e9e98e1dbf9d4@cambiumassessment.com>
Greetings,


I hope it's not inappropriate for me to send an email like this as I've just recently joined the group and then was out for a week after that and... etc. I see there are two models that are currently being considered. I had one question and it's probably already been debated and dismissed, but I'll ask anyways.


Was an attribute based model that broke each piece of SSML data into a separate attribute considered so as to avoid the JSON issue? I know it would be more verbose, but while I like the attribute model better personally I don't care for the JSON.


For example, instead of


According the 2010 US Census, the population of <span data-ssml='{"say-as" : {"interpret-as":"digits"}}'>90274</span> increased to 25209 from 24976 over the past 10 years.


it'd be


According the 2010 US Census, the population of <span data-ssml='say-as'  data-ssml-interpret-as='digits'>90274</span> increased to 25209 from 24976 over the past 10 years.


- Thanks, Alan
Received on Monday, 20 July 2020 16:11:51 UTC

This archive was generated by hypermail 2.4.0 : Monday, 20 July 2020 16:11:51 UTC