Here is my proposed ABNF to document the agreed restrictions in yesterday's
phone call. I may be missing some of the class names but this should
correctly linl\k each class to only one set of units.
media-size-self-describing-name =
( class1 "_" size-name "_" short-dim "-" long-dim "in" ) |
( class2 "_" size-name "_" short-dim "-" long-dim "mm" )
class1 = "na" | "asme" | "oe"
class2 = "iso" | "jis" | "jpn" | "prc" | "roc" | "om"
size-name = ( lowalpha | digit ) *( lowalpha | digit | "-" )
short-dim = dim
long-dim = dim
dim = integer-part [fraction-part] | "0" fraction-part
integer-part = non-zero-digit *digit
fraction-part = "." *digit non-zero-digit
lowalpha = "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" |
"j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" |
"s" | "t" | "u" | "v" | "w" | "x" | "y" | "z"
non-zero-digit = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
Any comments?
Ron
This archive was generated by hypermail 2b29 : Tue May 15 2001 - 12:14:31 EDT