3. A system for validation of structured documents, the system comprising: one or more processing devices; and a non-transitory computer-readable medium coupled to the one or more processing devices having instructions stored thereon which, when executed by the one or more processing devices, cause the one or more processing devices to perform operations comprising: parsing a first instance of a structured document using the generic parser, wherein an Abstract Syntax Tree (AST) for the first structured document is being generated while the parsing is in progression; while parsing the first instance of the first structured document using the generic parser, generating a fast parser for the first structured document, wherein the fast parser being generated is based on (i) the structure of the first structured document, and (ii) the AST that is concurrently being generated for the first instance of the first structured document while the first structured document is being parsed; and adding the fast parser to a group of fast parsers for processing subsequently received structured documents.
3. A system for validation of structured documents, the system comprising: one or more processing devices; and a non-transitory computer-readable medium coupled to the one or more processing devices having instructions stored thereon which, when executed by the one or more processing devices, cause the one or more processing devices to perform operations comprising: parsing a first instance of a structured document using the generic parser, wherein an Abstract Syntax Tree (AST) for the first structured document is being generated while the parsing is in progression; while parsing the first instance of the first structured document using the generic parser, generating a fast parser for the first structured document, wherein the fast parser being generated is based on (i) the structure of the first structured document, and (ii) the AST that is concurrently being generated for the first instance of the first structured document while the first structured document is being parsed; and adding the fast parser to a group of fast parsers for processing subsequently received structured documents. 4. The system of claim 3 , further comprising: receiving a request for validating a second structured document; and responsive to receiving the request: identifying a subset of fast parsers from the group of fast parsers, searching the subset of fast parsers for a fast parser corresponding to an instance of the second structured document, determining that the generated fast parser for the first structured document is available within the subset of fast parsers and corresponds to an instance of the second structured document, and responsive to determining that the generated fast parser for the first structured document is available within the subset of fast parsers and corresponds to an instance of the second structured document, parsing the instance of the second structured document using the generated fast parser for the first structured document.