1. A method comprising: a repository receiving a first request to store a XML, document; wherein a first process within a first session is running within said repository; wherein a second process within a second session is running within said repository; in response to receiving said first request, said first process validating said XML document based on a XML schema defined by one or more XML schema documents, wherein validating said XML document includes said first process storing, in a shared volatile memory, compile-time generated static structures comprising validation data and specifically generated for XML document validation based on said XML schema, wherein said XML schema is registered with said repository; said repository receiving a subsequent request to store one or more XML documents associated with said XML schema; in response to receiving said subsequent request, said second process subsequently validating said one or more XML documents based on said XML schema; wherein subsequently validating said one or more XML document comprises: said second process copying from said shared volatile memory said compile-time generated static structures into private memory that is private to said second process, and said second process using said compile-time generated static structures that are stored in said private memory to validate said one or more XML documents; and wherein the method is performed by one or more computing devices of said repository.