Editorial comment: E2-23 confuses values with lexical representations

	The values of the Year, Month, Day, Hour and Minutes
	components are not restricted but allow an arbitrary
	unsigned integer i.e. an integer that conforms to the
	pattern [0-9]+.                       [erratum E2-23]

Integers, of course, do not conform to patterns; strings do.  (Or
at least, the sense of "match" in which integers match patterns is
not defined in section 1.4.)

Imho, what is needed here (and elsewhere) is something along the
lines of:

	The Year, Month, Day, Hour and Minutes components are
	values of type nonNegativeInteger.  The Seconds
	component is a value of type decimal.

The recommendation already takes this approach in certain places,
e.g., in the definition of facets.  The benefit, of course, is
that all the fiddly bits -- whether leading zeroes are allowed,
whether digits are required before/after the decimal point, etc.
-- can be dealt with in a single place in the document.

-- 
Steven Taschuk           |   ,\
staschuk@telusplanet.net | }<__`O=
                          |  '  "     Pleiosaur 

Received on Tuesday, 24 December 2002 14:15:01 UTC