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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Re: An approach to describing the relationships betweenuni

[ Lists Home | Date Index | Thread Index ]

> Here is a description of kilometer:
>
>     baseUOM(kilometer) --> meter
>     subPropertyOf(kilometer) --> uom
>     domain(kilometer) --> Distance
>     range(kilometer) --> xsd:decimal
>     canonical(range(kilometer)) --> Formula
>     precision(Formula) --> xsd:nonNegativeInteger

kilometer is a function that accepts a Distance and produces a pure number?
How odd.

It seems that kilometer, if it is to be viewed as a function, must operate
only on the unit of measure property without affecting the type of the
value. If the domain is Distance, the range must be Distance; the difference
is that the argument distance is expressed in some (unspecified above) unit
of measure and the result distance is expressed in kilometers.

Bob Foster





 

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

Copyright 2001 XML.org. This site is hosted by OASIS