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

RE: Please no UOM (was Re: maps)


uom no
At 02:54 PM 8/4/2002 -0700, Joshua Allen wrote:
>(Not that anyone here is advocating this, but just in case...)
>
>Regular expressions that enforce syntactic patterns for particular units 
>of measure are fine, but I would strongly caution against trying to assign 
>schema constraints based on the actual values (other than range 
>constraints to specify valid values, which I would classify as regular 
>expressions anyway).  Even worse are co-occurence constraints on the 
>values, and worst of all are constraints that involve UOM translations.
>
>These types of constraints tend to fall into the realm of "business 
>rules", and in no way belong in a data schema language.  I am aware that 
>some people advocate this, but I think anyone who has experience with UOM 
>processing in systems like EAP, BOM, Financials, and so on will agree that 
>to do so is just begging for sorrow.  It's one of those "nice in theory, 
>if you don't know the theory very well" things.

Attempts to solve UOM (you do mean units of measure, I hope?) globally are 
likely a horrible mistake. (Think WXS date/time types.)  However, building 
systems which make it possible to solve UOM locally makes a lot more sense 
to me than "well, it's an int, but who the hell knows how many of what it 
represents?"

Local representation for local information makes a lot more sense to me 
than any effort to globalize the representation by converting everything to 
a common format.  People who insist on building centralized arbiters of 
information probably think differently, but since I find the centralized 
arbiter model repulsive in itself, I don't think it's particularly 
interesting.  (Nor do I care what SAP and Baan and PeopleSoft find convenient.)

Simon St.Laurent
"Every day in every way I'm getting better and better." - Emile Coue


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.