data.numeric defines the range of attribute values used for numeric values.
DeprecatedThis feature will be withdrawn after 2018-10-01
Moduletei — The TEI Infrastructure
Used by
<rng:define name="data.numeric">
  <rng:data type="double"/>
  <rng:data type="token">
   <rng:param name="pattern">(\-?[\d]+/\-?[\d]+)</rng:param>
  <rng:data type="decimal"/>
data.numeric =
   xsd:double | token { pattern = "(\-?[\d]+/\-?[\d]+)" } | xsd:decimal

Any numeric value, represented as a decimal number, in floating point format, or as a ratio.

To represent a floating point number, expressed in scientific notation, ‘E notation’, a variant of ‘exponential notation’, may be used. In this format, the value is expressed as two numbers separated by the letter E. The first number, the significand (sometimes called the mantissa) is given in decimal format, while the second is an integer. The value is obtained by multiplying the mantissa by 10 the number of times indicated by the integer. Thus the value represented in decimal notation as 1000.0 might be represented in scientific notation as 10E3.

A value expressed as a ratio is represented by two integer values separated by a solidus (/) character. Thus, the value represented in decimal notation as 0.5 might be represented as a ratio by the string 1/2.