Recent Changes - Search:

About

Users

Internal

Other Info (External)

edit SideBar

UserManual

tXSchema is implemented as a set of closely-related tools. This document describes there usage and parameter meanings; for more in-depth information, see also the Tutorials page.

Squash

Squash takes multiple XML snapshots that are valid in consecutive periods of time and generates a single temporal XML document that contains all the content and temporal information of those snapshots. Note that even if all snapshots are individually valid, which should be checked separately, it is still necessary to run the TemporalValidator on the resulting temporal XML document to check the temporal constraints that the snapshots may have violated.

Usage:

    squash [-o outputFile] [-s schemaVersFlag] [-d debugLevel] temporal_datafile

Parameters:

  • temporal_datafile
    The original temporal XML document which contains

time slice information. This XML document is to be squashed. Note this must be an absolute path of the file.

  • -s
    enables the schema versioning functionalities. However,

the schema versioning options have not been implemented yet.

  • -d
    enables the debug output message. The level varies from 1 to 4,

with 4 being the most detailed.


SchemaMapper

SchemaMapper create a representational schema according to the given non-temporal schema and the physical annotation.

NOTE: This tool cannot currently be invoked from the command line.

Usage:

    java SchemaMapper [non-temporal-schema] [physical-annotation-file]

Parameters:

  • non-temporal-schema
    Non-temporal schema for the snapshots from which the temporal XML document is generated. If this argument is missing, the location of the non-temporal schema must be contained in the annotation file.
  • physical-annotation-file
    The physical annotation file describes the elements and the attributes that can have timestamps. If this argument is missing SchemaMapper generates a representational schema for temporal XML document with time-varying root.


tXMLLint

tXMLint validates a temporal XML document according the given non-temporal schema, logical and physical annotations. It also checks the validity of the logical and physical annotations.

Usage:

    txmllint [-s schemaVersFlag] [-d debugLevel] temporal_document

Parameters:

  • temporal_document
    Temporal XML document to be validated. It needs to be an squashed temporal document. Note this must be an absolute path of the file.
  • -s and -d have the same meaning as in Squash.


Unsquash

Unsquash reads a temporal XML document that contains data of a long period, extracts the valid data in each sub-period in which the data doesn't change, and generates the corresponding snapshot documents. The snapshot documents have file names like "snapshot0.xml", "snapshot1.xml", etc. Unsquash depends on τDOM to extract data. Go to the τDOM website to get it.

Usage:

    unsquash [-o outFile] [-d debugLevel] temporal_document Note this must be an absolute path of the file.

Parameters:

  • temporal-document
    Temporal document that was produced by Squash.
  • -s and -d have the same meaning as in Squash.


Home

Edit - History - Print - Recent Changes - Search
Page last modified on July 08, 2010, at 01:24 PM