How is validation done during parsing?
XML Thunder will allow you to specify certain validation rules for the structure of the document and the format of the data. At runtime the XML Reader will verify these rules. For example, you can specify if a node is ‘optional’ or not. If the reader finds a mandatory node missing, it will throw an exception. Another example is, you can specify if a node is ‘extensible’. If the reader finds an undefined node, it will check if parent node is defined as ‘extensible’; if not, it will throw an exception, otherwise it will ignore the unknown node.