- From: Håkon Wium Lie <howcome@opera.com>
- Date: Wed, 2 Jun 2010 17:17:26 +0200
- To: Tal Leming <tal@typesupply.com>
- Cc: Sylvain Galineau <sylvaing@microsoft.com>, Jonathan Kew <jfkthame@googlemail.com>, Vladimir Levantovsky <Vladimir.Levantovsky@MonotypeImaging.com>, Christopher Slye <cslye@adobe.com>, "www-font@w3.org" <www-font@w3.org>, "public-webfonts-wg@w3.org" <public-webfonts-wg@w3.org>
Also sprach Tal Leming:
> <extensions>
> <group>
> <!--
> The author wants the UI to show:
>
> EU Greeting:
> Message: Hello!
> Date: 2010-06-01
>
> With an appropriate language chosen from the
> English, Dutch and French localizations.
> -->
> <name lang="en">EU Greeting</name>
> <name lang="nl">EU Groet</name>
> <name lang="fr">EU Salut</name>
> <item>
> <name>
> <text lang="en">Message</text>
> <text lang="nl">Bericht</text>
> <text lang="fr">Message</text>
> </name>
> <value>
> <text lang="en">Hello!</text>
> <text lang="nl">Hallo!</text>
> <text lang="fr">Bonjour!</text>
> </value>
> </item>
> <item>
> <name>
> <text lang="en">Date</text>
> <text lang="nl">Datum</text>
> <text lang="fr">Date</text>
> </name>
> <value>
> <text lang="en">2010-06-01</text>
> <text lang="nl">2010-06-01</text>
> <text lang="fr">2010-06-01</text>
> </value>
> </item>
> </group>
> </extensions>
>
> Granted, this is verbose.
Yes. There's much repetition. How about:
<ext lang=en>
EU Greeting:
Message: Hello!
Date: 2010-06-01
</ext>
<ext lang=nl>
EU Groet
Bericht: Hallo!
Datum: 2010-06-01
</ext>
<ext lang=fr>
EU Salut
Message: Bonjour!
Date: 2010-06-01
</ext>
This is the minimalist in me talking, I can probably live with more
structure, but my experience is that schemas with much structure tend
to be less understood and, consequently, less used.
Cheers,
-h&kon
Håkon Wium Lie CTO °þe®ª
howcome@opera.com http://people.opera.com/howcome
Received on Wednesday, 2 June 2010 15:18:27 UTC