[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: bohemians, gentry

  • To: "Jonathan Robie" <jonathan.robie@d...>,"Rich Salz" <rsalz@d...>
  • Subject: RE: bohemians, gentry
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Wed, 4 Dec 2002 12:13:32 -0800
  • Cc: "XML DEV" <xml-dev@l...>
  • Thread-index: AcKbz3aeKOQGAfofQl2k1euLHH+1BAAAR23Z
  • Thread-topic: bohemians, gentry

bohemians definition
Ah, yes. Because arbitrary precision decimals are wide spread and interoperable across multiple platforms and programming languages. I remember reading somewhere that W3C XML Schema just added a third layer of impedence mismatch to the mix. In the old days we had objects --> database impedence mismatches which cultivated the rise of object oriented databases. Now we have XSD ->objects-> database as the new impedence mismatch. Quite frankly, I'm beginning to be of the opinion that the primacy of xs:integer and xs:decimal types in most schemas is a mistake given that we have xs:float, xs:double and xs:int which are guaranteed to interoperate while the former are not. 

	-----Original Message----- 
	From: Jonathan Robie [mailto:jonathan.robie@d...] 
	Sent: Wed 12/4/2002 11:57 AM 
	To: Rich Salz 
	Cc: XML DEV 
	Subject: Re:  bohemians, gentry
	
	

	At 02:43 PM 12/4/2002 -0500, Rich Salz wrote:
	There *is* a datatype that I could use to represent Pi to ten thousand
	digits (or one million if I bought the book):
	
	>3.2.3 decimal
	>
	>    [Definition:] decimal represents arbitrary precision decimal
	>    numbers.
	
	If the document uses this datatype, then the Wizards had better be aware of
	what the phrase "arbitrary precision" means. Using the datatype is a clear
	warning to applications. Without the datatype, an application might
	encounter decimals of very different sizes, but not be aware that arbitrary
	precision numbers might arise until they encounter the first REALLLY BIG
	number.
	
	Of course, you can write schemas that use decimals of fixed precision too.
	In either case, the schema is explicit about the kinds of data applications
	should be prepared to handle.
	
	So isn't the use of datatypes more helpful than harmful in this case?
	
	Jonathan
	
	
	-----------------------------------------------------------------
	The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
	initiative of OASIS <http://www.oasis-open.org>
	
	The list archives are at http://lists.xml.org/archives/xml-dev/
	
	To subscribe or unsubscribe from this list use the subscription
	manager: <http://lists.xml.org/ob/adm.pl>
	
	


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.