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]
RE: [xml-dev] ANN: a portable data component -- length

Liam wrote:

>> Here is the altitude of an aircraft, expressed in both feet and meters:
>>      <altitude>
>>          <feet>12000</feet>
>>          <meters>3657.6</meters>
>>      </altitude>
>> It is important that the two length values are consistent:
> The right way to mark this up in most cases is to store only one value
> and convert as needed.
> See Normal Form in database theory: information should never be
> duplicated. That way it can't get out of sync.

With the portable length component, the concern about values getting out of sync no longer applies. The component is designed to ensure that all values are consistent (i.e., in synch). Its internal assertions check that all values are consistent.

The portable length data component is for those times when you want to provide users a length in a range of units and with a guarantee that all values are consistent.


[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