User Guide/Projects/Validation: Difference between revisions

From STX Wiki
Jump to navigationJump to search
(initial import)
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
==Validation==
{{UG_Project}}
Since the project file is where all the segment and parameter data is stored, it is important to maintain the validity of this file. The validation process is complicated and based on a set of rules defined in the <samp>stxconfig.xml</samp> file. Although validation should never generate errors, it can be a useful process, should you be experiencing problems with your project.


Since the DataSet is where all the segment and parameter data is stored, it is important to maintain the validity of this file. The validation process is complicated and based on a set of rules defined in the stxconfig.xml file. Although validation should never generate errors, it can be a useful process, should you be experiencing problems with your DataSet.
You can explicitly validate a project from the Workspace menu <samp>File > Project > Validate</samp>
 
You can explicitly validate a DataSet from the Workspace menu File > Dataset > Validate


'''Automatic validation'''
'''Automatic validation'''


You can control when your DataSet is validated using the [[User Guide/Dataset/DataSet element attributes|DataSet attribute]] <code>Validation</code>. Supported values are:
You can control when your project is validated using the [[User_Guide/Project/Reserved_Attributes|project attribute]] <code>Validation</code>. Supported values are:


{|
{|
Line 25: Line 24:
|}
|}


If you use validation, you are advised to sort your DataSet entries by <code>ID</code>, since this speeds up the validation process.
If you use validation, you are advised to sort your project entries by <code>ID</code>, since this speeds up the validation process.

Latest revision as of 11:34, 22 March 2018

Since the project file is where all the segment and parameter data is stored, it is important to maintain the validity of this file. The validation process is complicated and based on a set of rules defined in the stxconfig.xml file. Although validation should never generate errors, it can be a useful process, should you be experiencing problems with your project.

You can explicitly validate a project from the Workspace menu File > Project > Validate

Automatic validation

You can control when your project is validated using the project attribute Validation. Supported values are:

Off do not validate
On validate on load and save
Load validate on load
Save validate on save

If you use validation, you are advised to sort your project entries by ID, since this speeds up the validation process.

Navigation menu

Personal tools