Child pages
  • ARC reader process
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Describes the steps taken to read and validate an ARC record.

Both parsers work given the same input. Normally a version block is read first and after that a varying number of record are read until End-Of-File is encountered.

Steps to parsing an ARC version block:

The following steps are taken when parsing an ARC version block:

  1. The reader starts by reading 3 lines. (recordLine, versionLine and fieldLine)
  2. If the recordLine is non empty, it check for a leading "filedesc://".
  3. If the versionLine is non empty, parse and validate the version, reserved and origin fields.
  4. If the fieldLine is non empty, identify which field version is being used. Default to v1.0 is unidentified.
  5. If the recordLine is non empty, parse and validate all the record fields.
  6. Checks for valid record length.
  7. Process payload if present. (V1.1 feature)

Steps to parsing an ARC record:

The following steps are taken when parsing an ARC record:

  1. We use the same crystal ball.
  • No labels