[Home] [By Thread] [By Date] [Recent Entries]
"Box, Don" <dbox@d...> writes: > > -----Original Message----- > > From: Tim Bray [mailto:tbray@t...] > > Sent: Wednesday, April 04, 2001 9:48 AM > > To: Simon St.Laurent; xml-dev@l... > > Subject: Re: XML Schema 1.1 > > > > and personally I'd be > > astounded to see anyone take on XML 1.1 in my lifetime; > > Especially since many consider XSD to be "XML 2.0" ;-) > > In all seriousness, XSD makes the following three element instances > identical: > > <foo>200</foo> > <foo>200.0</foo> > <foo>200.0000000000000000</foo> > > assuming the following element declaration is in scope: > > <xsd:element name="foo" type="xsd:double" /> This is a slight exageration. What is true is that XML Schema defines the 'actual value' of all three of those elements to be the same IEEE double-precision floating point number. ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh W3C Fellow 1999--2001, part-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@c... URL: http://www.ltg.ed.ac.uk/~ht/
|

Cart



