Re: OLStyle should be enumeration?

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
numbers.

-jJ

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