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] What are units-of-measure? e.g., what's a "kilometer"?

[ Lists Home | Date Index | Thread Index ]

roger.day@globalgraphics.com wrote:

> I'd go for:
>
>   <River id="Yangtze">
>        <length unit="kilometer">6300</length>
>   </River>
>

If we grant that kilometer is a property/relation/function between
a distance dimension object and a number, then the choice of
representations would be:

    <River id="Yangtze">
        <length kilometers="6300"/>
    </River>

or alternatively:

    <River id="Yangtze">
        <length>
            <kilometer>6300</kilometer>
        </length>
    </River>

This is quite a radical approach.  I am surprised that there
aren't more comments, since the "conventional wisdom" is
not to treat kilometer as a property/relation/function, but rather
to treat it as the value of a property, e.g.,

  <River id="Yangtze">
       <length unit="kilometer">6300</length>
  </River>

Thoughts?  /Roger







 

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

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