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

Fwd: Re: What is this principle called: "I' send data inmy UOM

  • From: rjelliffe <rjelliffe@allette.com.au>
  • To: <xml-dev@lists.xml.org>
  • Date: Sat, 10 Sep 2011 16:53:31 +1000

Fwd: Re:  What is this principle called: "I' send data inmy UOM

 I think the main principle is grouped under the head "information 
 preservation" (or "information retention"): you don't throw away 
 anything until you can prove some-one won't need it. (Being 
 "conservative' in what you send means being conservative in what you 
 thow away, in this case.)

 This does not mean that you cannot *also* send the data in a converted 
   <width cm="33.33333">1/3m</width>
 The recipient can choose which it likes. If in doubt, do both (if this 
 won't cause integrity problems for later editing.)

 In commercial publishing systems, the most common way to handle this 
 situation, however, is neither to preserve the information as a fraction 
 nor to convert it to decimal. It is to re-express the value as integers 
 values against some very small common unit which is some reasonably 
 accurate fraction of all the bases and demonimators desired. See EMUs 
 (http://www.oreillynet.com/xml/blog/2007/04/what_is_an_emu.html) for 

 Rick Jelliffe

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.
First Name
Last Name
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.