1. A method for validation of structured documents, the method comprising parsing a first instance of a first structured document by using a generic parser; generating a fast parser for the first structured document, the fast parser being faster than the generic parser, the fast parser being generated based on the structure of the first structured document; and parsing a second instance of the first structured document using the fast parser.