<?xml version="1.0" encoding="UTF-8"?>
<!-- © TEI Consortium. Dual-licensed under CC-by and BSD2 licenses; see the file COPYING.txt for details. -->
<?xml-model href="https://jenkins.tei-c.org/job/TEIP5-dev/lastSuccessfulBuild/artifact/P5/release/xml/tei/odd/p5.nvdl" type="application/xml" schematypens="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"?>
<dataSpec xmlns="http://www.tei-c.org/ns/1.0" module="tei" xml:id="data-point" ident="teidata.point">
  <desc versionDate="2010-10-17" xml:lang="en">defines the data type used to express a point in cartesian space.</desc>
  <desc versionDate="2024-08-08" xml:lang="ja">デカルト空間内の点を表現するデータ型を定義する。</desc>
  <content>
    <dataRef name="token" restriction="(-?[0-9]+(\.[0-9]+)?,-?[0-9]+(\.[0-9]+)?)"/>
  </content>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="data-point-egXML-qa" source="#UND">
      <facsimile>
	<surface ulx="0" uly="0" lrx="400" lry="280">
	  <zone points="220,100 300,210 170,250 123,234">
	    <graphic url="handwriting.png"/>
	  </zone>
	</surface>
      </facsimile>
    </egXML>
  </exemplum>
  <remarks versionDate="2019-02-24" xml:lang="en">
    <p>A point is defined by two numeric values, which should be
    expressed as decimal numbers. Neither number can end in a decimal
    point. E.g., both <val>0.0,84.2</val> and <val>0,84</val> are
    allowed, but <val>0.,84.</val> is not.
    <!-- 51°45'45.63"N,  1°16'11.81"W -->
    </p>
  </remarks>
  <remarks versionDate="2024-08-08" xml:lang="ja">
    <p>点は、ふたつの数値で定義される。数値は10進小数で表されることが望ましい。数値は小数点で終わってはならない。たとえば、<code>0.0,84.2</code>も<code>0,84</code>も有効であるが、<code>0.,84.</code>はそうではない。</p>
  </remarks>
</dataSpec>
