Rulebase Metadata

The rulebase metadata contains information necessary to execute the rules in a rulebase. The metadata can include:

  1. ACTF aliases - name-value pairs that define tokens to be used throughout the validation document or document rulebase. These short names can be used as either element tag names or in attributes of validation rules.
  2. ACTF scripts - ACTF supports multiple scripting languages. Each rulebase defines the scripting language in the actf:scriptlang attribute. Supporting scripts are then defined within the actf:scripts tag. This is an ideal location to define functions that are used repeatedly by the scripting engine. Also, Adding Scripts to Rules can permit validation rules to articulate complex and semantically rich criteria.