W3C home > Mailing lists > Public > public-webfonts-wg@w3.org > June 2011

Re: WOFF metadata - spec prose vs. RNG

From: Chris Lilley <chris@w3.org>
Date: Wed, 1 Jun 2011 17:17:12 +0200
Message-ID: <463338560.20110601171712@w3.org>
To: "Levantovsky, Vladimir" <Vladimir.Levantovsky@MonotypeImaging.com>
CC: Jonathan Kew <jfkthame@googlemail.com>, "public-webfonts-wg@w3.org Group" <public-webfonts-wg@w3.org>
On Wednesday, June 1, 2011, 4:15:47 PM, Vladimir wrote:

LV> On Tuesday, May 31, 2011 5:52 AM Jonathan Kew wrote:

>> On 25 May 2011, at 21:46, Levantovsky, Vladimir wrote:
>> >
>> > -          description element: 'text' element is optional / required
>> in RNG (?);

>> Actually, 'text' is required in the 'description' element according to
>> the written spec, because all elements that use 'text' to provide
>> localization, "at least one text child element MUST be present" (see
>> the discussion of the localizable elements, before the element-by-
>> element list).

LV> I gave it one more look, I guess what confuses me is that the
LV> "text" element is treated differently in different parts of RNG
LV> (although the spec prose says the same thing for all cases). RNG
LV> has it sometimes as "oneOrMore", "zeroOrMore" or as plain required
LV> element with no qualifier at all. Should it all be the same "oneOrMore" in all cases?

I had a look and yes, 'description' had it as a plain required element. I changed it to oneOrMore.

For 'license', though, it is indeed zeroOrMore because of our resolution to Issue 18 license element text subelements


in other words we decided that text was optional, because sometimes people want to only link to a license and not summarize or duplicate it as text.

 Chris Lilley   Technical Director, Interaction Domain                 
 W3C Graphics Activity Lead, Fonts Activity Lead
 Co-Chair, W3C Hypertext CG
 Member, CSS, WebFonts, SVG Working Groups
Received on Wednesday, 1 June 2011 15:21:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:15 UTC