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

Re: What are units-of-measure? e.g., what's a "kilometer"?


length of a kilometer
I don't get this at all.  When has there ever been a default semantic for
what element containment means (except in the case of text being
marked up)?  Without such a semantic, saying that any of the simple 
permutations is different doesn't make sense. 

Why not

  <km63000><Yangtze/><River/></km63000>

or

<sentence id="s1">
    <subject is-a="River">Yangtze</subject>
    <verb>has</verb>
    <object>
        <sentence id="s2">
            <subject is-a="quality">length</subject>
            <verb>is</subject</verb>
            <object>
                   <sentence is="s3">
                        <subject is-a="number">63000</subject>
                        <verb>is</verb>
                        <object is-a="metric">kilometers</object>
                    </sentence>
             </object>
        </sentence>
    </object>
</sentence>

where the rendering to English is
    s3 - "63000" is kilometers
    s2 - "length" is 63000 kilometers
    s1 - "Yangtse" River has length 63000 kilometers

Cheers
Rick Jelliffe

----- Original Message ----- 
From: "Roger L. Costello" <costello@m...>
To: <xml-dev@l...>
Sent: Friday, July 18, 2003 2:44 AM
Subject: Re:  What are units-of-measure? e.g., what's a "kilometer"?


> roger.day@g... 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
> 
> 
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
> 
>


PURCHASE STYLUS STUDIO ONLINE TODAY!

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