|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Please no UOM (was Re: maps)
Joshua Allen scripsit:
>
> (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.
Well, I think the rest of your rant is quite convincing on the matter of
translations, but I don't see where your argument against co-occurrence
constraints comes from, especially for quantized units.
--
John Cowan <jcowan@r...>
http://www.reutershealth.com http://www.ccil.org/~cowan
Yakka foob mog. Grug pubbawup zink wattoom gazork. Chumble spuzz.
-- Calvin, giving Newton's First Law "in his own words"
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








