Thunder Suite   •  JSON Thunder   •  XML Thunder   •  FAQs   •  Tutorials   •  Wiki   •  Levelset History   •  JSON Thunder Technical Details   •  XML Thunder Technical Details

Thunder Suite

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. As another example, you can specify if a node is 'extensible.' If the reader finds an undefined node, it will check if the parent node is defined as 'extensible;' if not, it will throw an exception. Otherwise it will ignore the unknown node.

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. As another example, you can specify if a node is 'extensible.' If the reader finds an undefined node, it will check if the parent node is defined as 'extensible;' if not, it will throw an exception. Otherwise it will ignore the unknown node.