04.04.2013 Views

ANSI/NIST-ITL 2-2008 - National Institute of Standards and ...

ANSI/NIST-ITL 2-2008 - National Institute of Standards and ...

ANSI/NIST-ITL 2-2008 - National Institute of Standards and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Part 2 <strong>ANSI</strong>/<strong>NIST</strong>-<strong>ITL</strong> 2-<strong>2008</strong><br />

transaction interchanges between non-English-speaking or based agencies, a technique is<br />

available to encode information using character sets other than 7-bit ASCII. Fields/elements in<br />

theType-1 logical record <strong>and</strong> ASCII “LEN” (in Part 1 only) <strong>and</strong> “IDC” text fields/elements must still<br />

be encoded using 7-bit ASCII. But all other designated text fields/elements can be encoded<br />

using alternate character sets. The general mechanism for accomplishing this provides for<br />

backward compatibility with existing readers, supports multiple character sets in a single text<br />

string, <strong>and</strong> h<strong>and</strong>les internationally accepted character sets <strong>and</strong> text order conventions such as<br />

ISO character sets, UTF-8, <strong>and</strong> Unicode.<br />

Character sets within a transaction may only be switched in user-defined data. Appropriate<br />

mechanisms must be defined as part <strong>of</strong> the user-defined data definition.<br />

The base-64 encoding scheme, found in email, shall be used for converting non-ASCII text into<br />

ASCII form. Annex C describes the use <strong>of</strong> the base-64 system. It is expected that this encoding<br />

scheme will be used to convert all (originally) binary image data to ASCII for transmission, <strong>and</strong><br />

will also be used to convert non-ASCII data into ASCII data in user-defined data.<br />

All XML element tags including the “” characters shall appear in the transaction as 7-bit<br />

ASCII characters.<br />

209 Type-1 transaction information record<br />

209.1 XML elements for the Type-1 transaction information record<br />

The following paragraphs describe the data contained in each XML element <strong>of</strong> the transaction<br />

information record. Table 207 provides a list <strong>of</strong> the elements for the transaction information<br />

record. It is required that all elements <strong>of</strong> the record are ordered in the sequence described. For<br />

each <strong>of</strong> the elements, Table 207 lists for cross-reference purposes the Part 1 mnemonic <strong>and</strong> field<br />

number, the “condition code” as being m<strong>and</strong>atory “M” or optional “O”, the Part 2 XML element<br />

name, <strong>and</strong> occurrence limits. An entry containing an "*" indicates that there is no established<br />

limit. Annex F contains an example <strong>of</strong> the use <strong>of</strong> the st<strong>and</strong>ard that illustrates the layout for a<br />

Type-1 logical record. (Table 207 corresponds to Table 8 in Part 1.)<br />

The Type-1 record shall be contained within this complex element:<br />

<br />

[. . . Type 01 Record Content . . .]<br />

<br />

209.1.1 Record length<br />

Cross-reference: Part 1, Section 9.1.1 Field 1.001: Logical record length (LEN)<br />

There is no corresponding Part 2 XML element.<br />

209.1.2 Element <br />

This m<strong>and</strong>atory Part 2 element has no corresponding field in Part 1. It is used to identify the<br />

record type. For the Type-1 record, it shall contain a value <strong>of</strong> 01.<br />

01<br />

25

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!