/// <param name="theContext">the set of validation rules to be applied to messages parsed or /// encoded by this parser (defaults to ValidationContextFactory.DefaultValidation) /// </param> public override void setValidationContext(ValidationContext theContext) { base.setValidationContext(theContext); // These parsers are not yet initialized when this is called during the Parser constructor if (xmlParser != null) { pipeParser.setValidationContext(theContext); xmlParser.setValidationContext(theContext); } }