Each node is then validated based on the type. Currently only instance node are tested again restrictions on their class types. The validator checks for Cardinality, CardinalityQ, hasClass, hasValue, and toClass violations. The Validator generates a list of Indications. What the location is depends on the type of indication.
Parse indications show a chain of namespace or imports references.
Undefined Resource indications list all statements that reference the resource, grouped by file. Cardinality and other Restriction indications report the restriction node, instance node, and any statements. When possible a line number is given with a statement or resource. Due to limitations in the parser the line numbers refer to the closing tag of an element that contains the statement. The standalone validator produces output as plain text or as an xml file.