Type 1 is used to tranfer data files. Each transfered file is identified by one identifier (IDDT).
FRDT=IDSZ IDDT BIDT
Table 21. Frame type 1, structure
Item | Size | Description |
---|---|---|
IDSZ | 4 | Size of Identifier |
IDDT | IDSZ | Identifier (string) |
BIDT | FRSZ-4-IDSZ | Binary data |
It is possible to use special mime-type
Tahiti/Attrs+Bin
for file. Such file contains not
only binary data but also XML file with some additional attributes.
Embedded XML file contains at least real mime-type of the data file.
Structure of such file is bellow:
BIDT=XMLSZ XMLDT BDT
Table 22. Frame, type 1, late attributes
Item | Size | Description |
---|---|---|
XMLSZ | 4 | Size of the XML file |
XMLDT | XMLSZ | XML file |
BDT | FRSZ-4-IDSZ-4-XMLSZ | Binary data |
Embedded XML file contains additional attributes for the File.
Example 4. Example of File Attributes
<?xml version="1.0"?> <Attributes> <Attribute name="Page.mimetype" value="image/tiff"/> </Attributes>
Tag Attribute
contains name and value of the
attribute. Available attributes are in the following table:
Table 23. Additional file attributes
Attribute | Description |
---|---|
Page.mimetype | Mime-type of page |
Page.origName | Original page name |
Page.creationtime | Time of page creation |
Page.importance | Page importance (0|1) |