[dsdl-discuss] Re: Numeric precision

From: Francis Cave <francis@franciscave.com>
Date: Mon Feb 10 2003 - 22:31:35 UTC

Martin

> <!ELEMENT Number (#PCDATA)>
> <!ATTLIST Number
> Type (Complex|Real|Rational|Integer) Integer
> Precision (16bit|32bit|64bit|unlimited) 32bit
> Signed (yes|no) yes
> Accurate (yes|no) no >

How are you going to represent a complex number in a single data element?
Don't you need sub-elements for the real and ocmplex parts? The alternative
is that you adopt one of the various conventional notations for writing
complex numbers, in which case you'll either alienate someone by not
selecting their favourite notation or you'll have to introduce a Notation
attribute. I'm not convinced that Complex should be there at all.

What about Orthography (this might be covered by xml:lang, but I have my
doubts) and Base as additional attributes? Or are you only talking about
base-10 numbers using 'arabic' digits?

Francis Cave

--
DSDL members discussion list
To unsubscribe, please send a message with the
command  "unsubscribe" to dsdl-discuss-request@dsdl.org
(mailto:dsdl-discuss-request@dsdl.org?Subject=unsubscribe)
Received on Mon Feb 10 23:30:52 2003

This archive was generated by hypermail 2.1.8 : Fri Dec 03 2004 - 14:00:27 UTC