} //Use the default for XmlSchemaCollection public BaseProcessor(XmlNameTable nameTable, SchemaNames schemaNames, ValidationEventHandler eventHandler, XmlSchemaCompilationSettings compilationSettings) { Debug.Assert(nameTable != null); _nameTable = nameTable; _schemaNames = schemaNames; _eventHandler = eventHandler; _compilationSettings = compilationSettings; _nsXml = nameTable.Add(XmlReservedNs.NsXml); }
#pragma warning restore 618 internal void CompileSchemaInSet(XmlNameTable nameTable, ValidationEventHandler eventHandler, XmlSchemaCompilationSettings compilationSettings) { Debug.Assert(_isPreprocessed); Compiler setCompiler = new Compiler(nameTable, eventHandler, null, compilationSettings); setCompiler.Prepare(this, true); _isCompiledBySet = setCompiler.Compile(); }