OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Fwd: Re: [xml-dev] What is this principle called: "I' send data inmy UOM and you convert it, as needed, to your =?UTF-8?Q?UOM=22=3F?=

 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]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS