W3C home > Mailing lists > Public > www-html@w3.org > November 2002

Re: Element for Numbers

From: (wrong string) äper <christoph.paeper@tu-clausthal.de>
Date: Tue, 19 Nov 2002 15:38:01 +0100
Message-ID: <003e01c28fd9$438a5690$3ef4ae8b@heim4.tuclausthal.de>
To: <www-html@w3.org>

David Woolley <david@djwhome.demon.co.uk>:
>
>>   Either a signed decimal number with optional signed two digit exponent
>>   and mantissa separated by a dot (e.g. -1.2345E+03),
>
> Some non-transcendental number can be represented exactly in finite
> strings but not in this format.

I probably should have looked up an existing rule for representing numbers
and refer that.

>> ISO [ISO 8601]
      ^insert "date"

> I'm also concerned that this would be an excuse for presentational
> hacks in the element contents, when a semantic language requires that
> the content be meaningful in its own right.

Can you provide an example, please? I cannot see a reason for your fears.

>> Dimension
>>   A case dependent string describing a dimension according to table 1:
>
> Much too complex for HTML,

It isn't really, it just looks like, because there are so many tables. If
there was a normative resource I'd been aware of, I would have cited that
instead. In practice you wouldn't care much, just hack in the unit you
desire -- it should be there, if common.
Probably just keywords were better than '&' or '*', though.
When dividing datetimes and other numbers into two elements, the dim
attribute would become even simpler. I included a preceding dollar sign
('$') for currencies, which might as well be hyperfluous.
I forgot units like px, pc and pt; where the last collides with the unusual
'pico ton' (aka µg).

> and inevitably going to become out of date.

Huh? I'm pretty sure SI units and ISO date are going to outlive HTML.

Christoph Päper
Received on Tuesday, 19 November 2002 09:38:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:53 GMT