<Schema xmlns="urn:schemas-microsoft-com:xml-data" xmlns:dt="urn:schemas-microsoft-com:datatypes">
	<!-- Schema for representing OCR results in an extensible way.  Copyright 2001-2002 ScanSoft, Inc. -->
	<!-- Asian OCR 12.5: *********************************************************** -->
	<!-- Asian OCR 12.5: Some Elements are not used by Asian XML output version 12.5 -->
		<!-- Asian OCR 12.5: Asian page structure -->
		<!-- Page - Zone - Region ...............  Para - Line - Char -->
		<!--                      |                                   -->
		<!--                      |                                   -->
		<!--                      +...... Cell  -  Para - Line - Char -->
		<!-- Asian OCR 12.5: Asian document contains character candidates -->
		<!-- Asian OCR 12.5: Asian wd and ch elements use rc attribute not l, t, r, b -->
	<!-- Asian OCR 12.5: *********************************************************** -->

	<!-- Attributes for a document -->
	<AttributeType name="ssdoc-vers" dt:type="string"/>
	<AttributeType name="ocr-vers" dt:type="string"/>
	<!-- Top-level element, the document -->
	<ElementType name="document" content="eltOnly">
		<attribute type="ssdoc-vers" required="yes"/>
		<attribute type="ocr-vers" required="yes"/>
		<element type="page" minOccurs="0" maxOccurs="*"/>
	</ElementType>
	<!-- Attributes for a rectangle -->
	<AttributeType name="l" dt:type="int"/>
	<AttributeType name="t" dt:type="int"/>
	<AttributeType name="r" dt:type="int"/>
	<AttributeType name="b" dt:type="int"/>
	<!-- Rectangle element used by many other elements -->
	<ElementType name="rc" content="empty">
		<attribute type="l" required="yes"/>
		<attribute type="t" required="yes"/>
		<attribute type="r" required="yes"/>
		<attribute type="b" required="yes"/>
	</ElementType>
	<!-- Attributes for a page -->
	<AttributeType name="width" dt:type="int"/>
	<AttributeType name="height" dt:type="int"/>
	<AttributeType name="x-res" dt:type="int"/>
	<AttributeType name="y-res" dt:type="int"/>
	<AttributeType name="bpp" dt:type="int"/>
	<AttributeType name="orientation" dt:type="enumeration" dt:values="0 90 180 270"/>
	<AttributeType name="skew" dt:type="int"/>
	<AttributeType name="filename" dt:type="string"/>
	<AttributeType name="code-page" dt:type="int"/>
	<AttributeType name="language" dt:type="int"/>
	<!-- The page -->
	<ElementType name="page" content="eltOnly">
		<attribute type="width" required="yes"/>
		<attribute type="height" required="yes"/>
		<attribute type="x-res" required="yes"/>
		<attribute type="y-res" required="yes"/>
		<attribute type="bpp" required="yes"/>
		<attribute type="orientation" required="yes"/>
		<attribute type="skew" required="yes"/>
		<attribute type="filename"/>
		<!-- Asian OCR 12.5: code-page isn't used in Asian -->
		<attribute type="code-page"/>
		<attribute type="language"/>
		<!-- Asian OCR 12.5: There is asn:FaxUpsideDown attribute in Asian with the value of "Yes" or "No"-->
		<element type="zone" minOccurs="0" maxOccurs="*"/>
		<element type="region" minOccurs="0" maxOccurs="*"/>
	</ElementType>
	<!-- Attributes for a zone -->
	<!-- Asian OCR 12.5: In the Asian xml this value can't be columns -->
	<AttributeType name="zone-type" dt:type="enumeration" dt:values="title column columns header footer ruling"/>
	<AttributeType name="columns" dt:type="int"/>
	<AttributeType name="col-width" dt:type="int"/>
	<AttributeType name="col-space" dt:type="int"/>	
	<!-- Zone element -->
	<ElementType name="zone" content="eltOnly">
		<attribute type="zone-type"/>
		<attribute type="columns"/>
		<attribute type="col-width"/>
		<attribute type="col-space"/>
		<element type="rc"/>
		<element type="region" minOccurs="0" maxOccurs="*"/>
	</ElementType>
	<!-- Attributes for a region -->
	<AttributeType name="reg-type" dt:type="enumeration" dt:values="horizontal vertical auto table graphic"/>
	<AttributeType name="cols" dt:type="int"/>
	<AttributeType name="rows" dt:type="int"/>
	<!-- Region element -->
	<ElementType name="region" content="eltOnly">
		<attribute type="reg-type" required="yes"/>
		<!-- Asian OCR 12.5: rows isn't used in Asian -->
		<attribute type="rows"/>
		<!-- Asian OCR 12.5: cols isn't used in Asian -->
		<attribute type="cols"/>
		<element type="rc"/>
		<!-- Asian OCR 12.5: column isn't used in Asian -->
		<element type="column" minOccurs="0" maxOccurs="*"/>
		<!-- Asian OCR 12.5: row isn't used in Asian -->
		<element type="row" minOccurs="0" maxOccurs="*"/>
		<element type="paragraph" minOccurs="0" maxOccurs="*"/>
	</ElementType>
	<!-- Attributes for a column -->
	<!-- Asian OCR 12.5: Attributes for a column aren't used in Asian -->
	<AttributeType name="col-left" dt:type="int"/>
	<AttributeType name="col-right" dt:type="int"/>
	<!-- Column element -->
	<!-- Asian OCR 12.5: column isn't used in Asian -->
	<ElementType name="column" content="empty">
		<attribute type="col-left"/>
		<attribute type="col-right"/>
	</ElementType>
	<!-- Attributes for a row -->
	<!-- Asian OCR 12.5: Attributes for a row aren't used in Asian -->
	<AttributeType name="row-top" dt:type="int"/>
	<AttributeType name="row-bottom" dt:type="int"/>
	<!-- Row element -->
	<!-- Asian OCR 12.5: row isn't used in Asian -->
	<ElementType name="row" content="eltOnly">
		<attribute type="row-top"/>
		<attribute type="row-bottom"/>
		<element type="cell" maxOccurs="*"/>
	</ElementType>
	<!-- Attributes for a cell -->
	<AttributeType name="row-span" dt:type="int"/>
	<AttributeType name="col-span" dt:type="int"/>
	<AttributeType name="border-left" dt:type="int"/>
	<AttributeType name="border-top" dt:type="int"/>
	<AttributeType name="border-right" dt:type="int"/>
	<AttributeType name="border-bottom" dt:type="int"/>
	<!-- Cell element -->
	<ElementType name="cell" content="eltOnly">
		<!-- Asian OCR 12.5: row-span isn't used in Asian -->
		<attribute type="row-span"/>
		<!-- Asian OCR 12.5: col-span isn't used in Asian -->
		<attribute type="col-span"/>
		<!-- Asian OCR 12.5: border-left isn't used in Asian -->
		<attribute type="border-left"/>
		<!-- Asian OCR 12.5: border-top isn't used in Asian -->
		<attribute type="border-top"/>
		<!-- Asian OCR 12.5: border-right isn't used in Asian -->
		<attribute type="border-right"/>
		<!-- Asian OCR 12.5: border-bottom isn't used in Asian -->
		<attribute type="border-bottom"/>
		<element type="rc" minOccurs="0"/>
		<element type="paragraph" minOccurs="0" maxOccurs="*"/>
	</ElementType>
	<!-- Attributes for a paragraph -->
	<AttributeType name="para-type" dt:type="enumeration" dt:values="subtitle caption text text-cont cont-text cont-text-cont"/>
	<AttributeType name="align" dt:type="enumeration" dt:values="left right centered justified"/>
	<AttributeType name="right-indent" dt:type="int"/>
	<AttributeType name="left-indent" dt:type="int"/>
	<AttributeType name="start-indent" dt:type="int"/>
	<!-- Asian OCR 12.5: line-spacing isn't used in Asian -->
	<AttributeType name="line-spacing" dt:type="int"/>
	<!-- Asian OCR 12.5: space-before isn't used in Asian -->
	<AttributeType name="space-before" dt:type="int"/>
	<!-- Asian OCR 12.5: space-after isn't used in Asian -->
	<AttributeType name="space-after" dt:type="int"/>
	<!-- Paragraph element -->
	<ElementType name="paragraph" content="eltOnly">
		<attribute type="para-type"/>
		<attribute type="align"/>
		<attribute type="right-indent"/>
		<attribute type="left-indent"/>
		<attribute type="start-indent"/>
		<!-- Asian OCR 12.5: line-spacing isn't used in Asian -->
		<attribute type="line-spacing"/>
		<!-- Asian OCR 12.5: space-before isn't used in Asian -->
		<attribute type="space-before"/>
		<!-- Asian OCR 12.5: space-after isn't used in Asian -->
		<attribute type="space-after"/>
		<element type="ln" minOccurs="0" maxOccurs="*"/>
	</ElementType>
	<!-- Attributes for character -->
	<AttributeType name="conf" dt:type="int"/>
	<AttributeType name="questionable" dt:type="boolean"/>
	<!-- font face -->
	<AttributeType name="ff" dt:type="string"/>
	<!-- font size -->
	<AttributeType name="fs" dt:type="int"/>
	<!-- bold non-bold italic non-italic underlined non-underlined superscript non-superscript subscript non-subscript -->
	<!-- dropcap rotate-inv horiz-inv -->
	<AttributeType name="char-attr" dt:type="string"/>
	<!-- Attributes for a line -->
	<AttributeType name="baseline" dt:type="int"/>
	<AttributeType name="line-size" dt:type="int"/>
	<AttributeType name="char-height" dt:type="int"/>
	<AttributeType name="char-width" dt:type="int"/>
	<AttributeType name="last-line" dt:type="boolean"/>
	<!-- Line element -->
	<ElementType name="ln" content="eltOnly">
		<attribute type="baseline"/>
		<attribute type="line-size"/>
		<attribute type="char-height"/>
		<attribute type="char-width"/>
		<attribute type="last-line"/>
		<!-- Asian OCR 12.5: ff isn't used in Asian -->
		<attribute type="ff"/>
		<!-- Asian OCR 12.5: fs isn't used in Asian -->
		<attribute type="fs"/>
		<!-- Asian OCR 12.5: char-attr isn't used in Asian -->
		<attribute type="char-attr"/>
		<!-- The line must contain words! -->
		<!-- Asian OCR 12.5: Only Korean words or runs of English characters (A-Z, a-z) and numbers (0-9) go inside a wd -->
		<!-- Asian OCR 12.5: Chinese and Japanese characters and punctuations are directly inside the ln -->
		<element type="wd" maxOccurs="*"/>
	</ElementType>
	<!-- Word element -->
	<!-- Asian OCR 12.5: wd isn't used in Chinese and Japanese xml. -->
	<ElementType name="wd" content="mixed">
		<attribute type="l" required="yes"/>
		<attribute type="t" required="yes"/>
		<attribute type="r" required="yes"/>
		<attribute type="b" required="yes"/>
		<!-- Asian OCR 12.5: ff isn't used in Asian -->
		<attribute type="ff"/>
		<!-- Asian OCR 12.5: fs isn't used in Asian -->
		<attribute type="fs"/>
		<!-- Asian OCR 12.5: char-attr isn't used in Asian -->
		<attribute type="char-attr"/>
		<!-- Asian OCR 12.5: conf isn't used in Asian -->
		<attribute type="conf"/>
		<!-- Asian OCR 12.5: questionable isn't used in Asian -->
		<attribute type="questionable"/>
		<element type="ch" minOccurs="0" maxOccurs="*"/>
	</ElementType>
	<!-- Character element -->
	<ElementType name="ch" content="mixed">
		<!-- Asian OCR 12.5: Asian xml uses rc element instead of l, t, r, b attribute -->
		<attribute type="l" required="yes"/>
		<attribute type="t" required="yes"/>
		<attribute type="r" required="yes"/>
		<attribute type="b" required="yes"/>
		<!-- Asian OCR 12.5: ff isn't used in Asian -->
		<attribute type="ff"/>
		<!-- Asian OCR 12.5: fs isn't used in Asian -->
		<attribute type="fs"/>
		<attribute type="char-attr"/>
		<attribute type="conf"/>
		<!-- Asian OCR 12.5: questionable doesn't used in Asian -->
		<attribute type="questionable"/>
		<!-- Asian OCR 12.5: The ch contains candidates in Asian xml -->
		<!-- Asian OCR 12.5: <ElementType name="candidates"> -->
		<!-- Asian OCR 12.5: <ElementType name="candidate"> -->
		<!-- Asian OCR 12.5: <AttributeType name="code" dt:type="string"/> -->
		<!-- Asian OCR 12.5: <AttributeType name="conf" dt:type="int/>" -->
		<!-- Asian OCR 12.5: </ElementType> -->
		<!-- Asian OCR 12.5: </ElementType> -->
	</ElementType>
</Schema>
