56 object value =
new object();
157 public event ValidationEventHandler ValidationEventHandler
391 if (hashtable[
text] ==
null)
414 foreach (
string key in hashtable.
Keys)
478 compiler.ImportAllCompiledSchemas(
this);
524 for (
int num = i; num >= 0; num--)
556 if (
schema.BaseUri !=
null)
567 if (
schema.ErrorCount != 0)
581 for (
int i = 0; i <
schema.ImportedSchemas.
Count; i++)
686 for (
int i = 0; i <
schema.ImportedSchemas.
Count; i++)
732 if (
text.Length == 0)
769 for (
int i = 0; i <
schema.ImportedSchemas.
Count; i++)
800 for (
int i = 0; i <
value.Members.Count; i++)
871 if (
schema.BaseUri !=
null)
897 TypeExtensions.
Clear();
1056 if (
schema.TargetNamespace ==
null)
1100 if (
schema.TargetNamespace !=
null)
1102 return schema.TargetNamespace;
1104 return string.Empty;
1111 for (
int i = 0; i <
list.Count; i++)
1113 if (
list[i].BaseUri !=
null &&
list[i].BaseUri.OriginalString.Length != 0)
1121 if (
item.chameleonLocation.Equals(
list[i].BaseUri) && (
item.originalSchema ==
null ||
item.originalSchema ==
list[i]))
1168 if (qname.
Name.Length == 0)
1179 string res =
string.Empty;
1194 if (qname.
Namespace ==
"http://www.w3.org/XML/1998/namespace")
void CopyTo(KeyValuePair< TKey, TValue >[] array, int index)
bool ICollection< KeyValuePair< TKey, TValue > >. Contains(KeyValuePair< TKey, TValue > keyValuePair)
void Add(TKey key, TValue value)
virtual void CopyTo(Array array, int arrayIndex)
virtual void Remove(object key)
virtual void Add(object key, object? value)
virtual ? object GetByIndex(int index)
virtual void Add(object key, object? value)
virtual bool ContainsValue(object? value)
virtual void Remove(object key)
virtual bool ContainsKey(object key)
virtual ICollection Values
static ? Delegate Remove(Delegate? source, Delegate? value)
static ? Delegate Combine(Delegate? a, Delegate? b)
static string Sch_DupComplexType
static string Sch_SchemaNotPreprocessed
static string Sch_ComponentAlreadySeenForNS
static string Sch_DupGlobalAttribute
static string Sch_DupSimpleType
static string Sch_DupGlobalElement
static string Sch_SchemaNotRemoved
static string Sch_MismatchTargetNamespaceEx
static string Sch_SchemaDoesNotExist
static int CompareExchange(ref int location1, int value, int comparand)
static void Exit(object obj)
static bool TryEnter(object obj)
static void Enter(object obj)
static XmlQualifiedName QnAnyType
static XmlSchema GetBuildInSchema()
void Add(SchemaInfo sinfo, ValidationEventHandler eventhandler)
XmlSchemaException Exception
void Remove(XmlQualifiedName name)
void Insert(XmlQualifiedName name, XmlSchemaObject value)
void Add(XmlQualifiedName name, XmlSchemaObject value)
SchemaInfo _cachedCompiledInfo
XmlSchema? Add(string? targetNamespace, XmlReader schemaDocument)
readonly XmlReaderSettings _readerSettings
XmlSchema Add(string targetNamespace, XmlSchema schema)
object _internalSyncObject
void RemoveSchemaFromGlobalTables(XmlSchema schema)
bool Contains(XmlSchema schema)
XmlSchema Reprocess(XmlSchema schema)
ValidationEventHandler GetEventHandler()
XmlSchema ParseSchema(string targetNamespace, XmlReader reader)
readonly XmlNameTable _nameTable
void CopyTo(XmlSchema[] schemas, int index)
SchemaNames GetSchemaNames(XmlNameTable nt)
XmlSchemaCompilationSettings CompilationSettings
ValidationEventHandler ValidationEventHandler
void SetDtdProcessing(XmlReader reader)
void ResolveSubstitutionGroup(XmlSchemaSubstitutionGroup substitutionGroup, XmlSchemaObjectTable substTable)
string GetTargetNamespace(XmlSchema schema)
Hashtable SchemaLocations
bool RemoveRecursive(XmlSchema schemaToRemove)
readonly Hashtable _targetNamespaces
bool PreprocessSchema(ref XmlSchema schema, string targetNamespace)
bool IsSchemaLoaded(Uri schemaUri, string targetNamespace, out XmlSchema schema)
readonly Hashtable _chameleonSchemas
XmlSchemaSet(XmlNameTable nameTable)
bool AddToTable(XmlSchemaObjectTable table, XmlQualifiedName qname, XmlSchemaObject item)
void InternalValidationCallback(object sender, ValidationEventArgs e)
XmlSchemaObjectTable GlobalElements
XmlSchemaCompilationSettings _compilationSettings
XmlSchema _schemaForSchema
XmlSchema? Remove(XmlSchema schema)
bool Contains(string? targetNamespace)
ICollection Schemas(string? targetNamespace)
XmlSchemaObjectTable elements
readonly ValidationEventHandler _internalEventHandler
void RemoveSchemaFromCaches(XmlSchema schema)
XmlSchema? Add(string? targetNamespace, string schemaUri)
XmlSchemaObjectTable attributes
XmlReaderSettings ReaderSettings
XmlSchema Remove(XmlSchema schema, bool forceCompile)
XmlResolver GetResolver()
XmlSchema FindSchemaByNSAndUrl(Uri schemaUri, string ns, DictionaryEntry[] locationsTable)
void ProcessNewSubstitutionGroups(XmlSchemaObjectTable substitutionGroupsTable, bool resolve)
void AddSchemaToSet(XmlSchema schema)
XmlSchemaObjectTable SubstitutionGroups
XmlSchemaObjectTable _typeExtensions
readonly Hashtable _schemaLocations
readonly SortedList _schemas
bool GetSchemaByUri(Uri schemaUri, [NotNullWhen(true)] out XmlSchema schema)
XmlSchemaObjectTable schemaTypes
void Add(string targetNamespace, XmlReader reader, Hashtable validatedNamespaces)
ValidationEventHandler _eventHandler
XmlSchema? Add(XmlSchema schema)
void Add(XmlSchemaSet schemas)
void CopyFromCompiledSet(XmlSchemaSet otherSet)
XmlSchemaObjectTable substitutionGroups
XmlSchemaObjectTable GlobalAttributes
XmlSchemaObjectTable GlobalTypes
void SendValidationEvent(XmlSchemaException e, XmlSeverityType severity)
object InternalSyncObject
static string CDataNormalize(string value)
override string ToString()
XmlResolver GetXmlResolver()
DtdProcessing DtdProcessing
XmlResolver GetXmlResolver_CheckConfig()
virtual ? XmlReaderSettings Settings
static XmlReader Create(string inputUri)