W3C home > Mailing lists > Public > www-html@w3.org > April 2007

Re: OLStyle should be enumeration?

From: Jim Jewett <jimjjewett@gmail.com>
Date: Fri, 27 Apr 2007 16:07:21 -0400
Message-ID: <fb6fbf560704271307g7138c7afycc4f8cf6fe7f8b2e@mail.gmail.com>
To: Chris <chrishe@hmgcc.gsi.gov.uk>
Cc: www-html@w3.org

On 4/26/07, Chris <chrishe@hmgcc.gsi.gov.uk> wrote:

> In all the XHTML 1.0 schemas (http://www.w3.org/TR/xhtml1-schema/)
> OLStyle type is defined as a xs:string.  In the documentation, it is
> clear that it can only take 5 values.

> Why isn't it defined as an enumeration? Is there a reason or is it an
> oversight?

See http://www.w3.org/TR/REC-CSS2/generate.html#lists

>         1   arabic numbers      1, 2, 3, ...
>         a   lower alpha         a, b, c, ...
>         A   upper alpha         A, B, C, ...
>         i   lower roman         i, ii, iii, ...
>         I   upper roman         I, II, III, ...

CSS2 allows several other values.  I don't know how well the alternate
values are supported, but I believe there are at least some
(local-market) programs supporting at least some of them.

Given the fallback semantics ("A user agent that does not recognize a
numbering system should use 'decimal'."), it doesn't make sense to
pre-emptively rule out ordering based on additional alphabets and/or

Received on Friday, 27 April 2007 20:07:34 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 30 April 2020 16:21:02 UTC