OTX Reference  
OpenTestSystem.Otx.Extensions.Quantities.CheckerRule Class Reference

Comprehensive checker rule listing, see also Core checker rules. More...

Public Attributes

Severity.Critical Quantities_Chk001
 Correct unit linking More...
 
Severity.Warning Quantities_Chk002
 No dangling unit definition links More...
 

Detailed Description

Comprehensive checker rule listing, see also Core checker rules.

Member Data Documentation

◆ Quantities_Chk001

Severity.Critical OpenTestSystem.Otx.Extensions.Quantities.CheckerRule.Quantities_Chk001

Correct unit linking

Criterion
For all elements of type quant:Unit or i18n:UnitGroup, only simple XLinks will be allowed, as specified by[W3C XLink]. Therefore, xlink:type="simple" will be set as attribute of quant:Unit or i18n:UnitGroup elements.

◆ Quantities_Chk002

Severity.Warning OpenTestSystem.Otx.Extensions.Quantities.CheckerRule.Quantities_Chk002

No dangling unit definition links

Criterion
Unit definitions referenced by UnitLiteral terms should exist in the unit specification.
Comment
In addition to this checker rule, the exception UnknownUnitException is defined for UnitLiteral, since it cannot always be guaranteed that the unit specification available at authoring/checking time is identical to the unit specification available at runtime.