[
Lists Home |
Date Index |
Thread Index
]
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@reutershealth.com>
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"
|