99 _nsXsi =
base.NameTable.
Add(
"http://www.w3.org/2001/XMLSchema-instance");
170 return !
base.HasErrors;
260 if (
text ==
"http://www.w3.org/XML/1998/namespace" &&
uri2 ==
null)
360 xmlSchema.Namespaces.
Add(
"xml",
"http://www.w3.org/XML/1998/namespace");
427 text2 =
string.Empty;
468 if (
schema.Version !=
null)
504 if (@
namespace ==
schema.TargetNamespace)
519 else if (@
namespace !=
null)
521 if (@
namespace.
Length == 0)
633 for (
int l = 0;
l < items.
Count;
l++)
732 for (
int i = 0; i < items.
Count; i++)
918 for (
int i = 0; i < items.
Count; i++)
947 if (
group.Particle !=
null)
990 if (
ctype.ContentModel !=
null)
1118 if (element.
Name !=
null)
1151 if (element.
Form != 0)
1172 if (element.
Name !=
null)
1285 if (constraint.
Name !=
null)
1669 if (
group.Name !=
null)
1678 if (
group.Particle ==
null)
1683 if (
group.Particle.MinOccursString !=
null)
1687 if (
group.Particle.MaxOccursString !=
null)
1748 for (
int i = 0; i < items.
Count; i++)
1770 for (
int j = 0;
j < items.
Count;
j++)
1786 for (
int k = 0;
k < items.
Count;
k++)
1829 for (
int i = 0; i < attributes.
Count; i++)
1980 if (annotation !=
null)
1991 for (
int i = 0; i < annotation.
Items.
Count; i++)
1993 annotation.
Items[i].Parent = annotation;
virtual int Add(object? value)
virtual bool Contains(object? item)
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
bool ICollection< KeyValuePair< TKey, TValue > >. Contains(KeyValuePair< TKey, TValue > keyValuePair)
void Add(TKey key, TValue value)
virtual void Add(object key, object? value)
virtual ? object GetByIndex(int index)
virtual void Add(object key, object? value)
virtual bool Contains(object key)
static string Sch_MinGtMax
static string Sch_MissingPublicSystemAttribute
static string Sch_InvalidComplexTypeBlockValue
static string Sch_IdConstraintNoFields
static string Sch_InvalidComplexTypeFinalValue
static string Sch_NoRestOrExtQName
static string Sch_InvalidIncludeLocation
static string Sch_InvalidNameAttributeEx
static string Sch_RedefineNoSchema
static string Sch_InvalidIdAttribute
static string Sch_DupIdentityConstraint
static string Sch_SimpleTypeRestRefBase
static string Sch_ComponentRedefineNotFound
static string Sch_MultipleAttrGroupSelfRef
static string Sch_MissAttribute
static string Sch_MinMaxGroupRedefine
static string Sch_InvalidNamespace
static string Sch_NoRestOrExt
static string Sch_ElementNameRef
static string Sch_InvalidTypeRedefine
static string Format(string resourceFormat, object p1)
static string Sch_SimpleTypeUnionNoBase
static string Sch_MismatchTargetNamespaceImport
static string Sch_MismatchTargetNamespaceInclude
static string Sch_SimpleTypeListRefBaseNone
static string Sch_InvalidElementBlockValue
static string Sch_SimpleTypeDoubleRedefine
static string Sch_InvalidPublicAttribute
static string Sch_InvalidSystemAttribute
static string Xml_BadNameCharWithPos
static string Sch_InvalidAttribute
static string Sch_NoSimpleTypeContent
static string Sch_NullValue
static string Sch_InvalidTargetNamespaceAttribute
static string Sch_AttributeNameRef
static string Sch_DefaultFixedAttributes
static string Sch_ForbiddenAttribute
static string Sch_NoGroupParticle
static string Sch_DupIdAttribute
static string Sch_InvalidAllMin
static string Sch_TargetNamespaceXsi
static string Sch_InvalidAllElementMax
static string Sch_InvalidElementFinalValue
static string Sch_MultipleRedefine
static string Sch_InvalidFinalDefaultValue
static string Sch_SimpleToComplexTypeRedefine
static string Sch_CannotLoadSchemaLocation
static string Sch_InvalidSimpleTypeFinalValue
static string Sch_InvalidElementRef
static string Sch_MultipleGroupSelfRef
static string Sch_XmlNsAttribute
static string Sch_AttributeValueDataTypeDetailed
static string Sch_SimpleTypeListRefBase
static string Sch_ComplexToSimpleTypeRedefine
static string Sch_InvalidAllMax
static string Sch_ImportTargetNamespace
static string Sch_GroupDoubleRedefine
static string Sch_MismatchTargetNamespaceEx
static string Sch_UnrefNS
static string Sch_InvalidBlockDefaultValue
static string Sch_InvalidNamespaceAttribute
static string Sch_InvalidCollection
static string Sch_ComplexTypeDoubleRedefine
static string Sch_SimpleTypeRestRefBaseNone
static string Sch_InvalidAnyDetailed
static string Sch_InvalidSchemaLocation
static string Sch_AttrGroupDoubleRedefine
static string Sch_IdConstraintNoRefer
static string Sch_IdConstraintNoSelector
static string Sch_TypeMutualExclusive
static string Sch_OptionalDefaultAttribute
static string Sch_InvalidAttributeRef
static string Sch_MissRequiredAttribute
static int CompareExchange(ref int location1, int value, int comparand)
static void Exit(object obj)
static void Enter(object obj)
static ? Type GetType(string typeName, bool throwOnError, bool ignoreCase)
static bool Equal(string strA, string strB)
void SendValidationEvent(string code, XmlSchemaObject source)
void AddToTable(XmlSchemaObjectTable table, XmlQualifiedName qname, XmlSchemaObject item)
static XmlSchemaSimpleType GetSimpleTypeFromTypeCode(XmlTypeCode typeCode)
void LoadExternals(XmlSchema schema)
void PreprocessLocalElement(XmlSchemaElement element)
void PreprocessAnnotation(XmlSchemaObject schemaObject)
void PreprocessAttributes(XmlSchemaObjectCollection attributes, XmlSchemaAnyAttribute anyAttribute, XmlSchemaObject parent)
void Preprocess(XmlSchema schema, string targetNamespace, ArrayList imports)
XmlSchemaForm _elementFormDefault
object GetSchemaEntity(Uri ruri)
void PreprocessElementContent(XmlSchemaElement element)
Hashtable ChameleonSchemas
int CountGroupSelfReference(XmlSchemaObjectCollection items, XmlQualifiedName name, XmlSchemaGroup redefined)
XmlSchema GetChameleonSchema(string targetNamespace, XmlSchema schema)
void PreprocessAttributeContent(XmlSchemaAttribute attribute)
void ValidateNameAttribute(XmlSchemaObject xso)
void ParseUri(string uri, string code, XmlSchemaObject sourceSchemaObject)
void PreprocessLocalAttribute(XmlSchemaAttribute attribute)
Preprocessor(XmlNameTable nameTable, SchemaNames schemaNames, ValidationEventHandler eventHandler, XmlSchemaCompilationSettings compilationSettings)
static XmlSchema GetBuildInSchema()
void CheckRefinedComplexType(XmlSchemaComplexType ctype)
void CheckRefinedGroup(XmlSchemaGroup group)
readonly Hashtable _processedExternals
void SetSchemaDefaults(XmlSchema schema)
void PreprocessRedefine(RedefineEntry redefineEntry)
Uri ResolveSchemaLocationUri(XmlSchema enclosingSchema, string location)
void BuildSchemaList(XmlSchema schema)
XmlSchemaDerivationMethod _blockDefault
void PreprocessIdentityConstraint(XmlSchemaIdentityConstraint constraint)
void PreprocessAttribute(XmlSchemaAttribute attribute)
static XmlSchema GetParentSchema(XmlSchemaObject currentSchemaObject)
XmlReaderSettings ReaderSettings
void PreprocessParticle(XmlSchemaParticle particle)
void SetParent(XmlSchemaObject child, XmlSchemaObject parent)
void CheckRefinedSimpleType(XmlSchemaSimpleType stype)
readonly SortedList _lockList
void BuildRefNamespaces(XmlSchema schema)
void PreprocessSimpleType(XmlSchemaSimpleType simpleType, bool local)
void PreprocessGroup(XmlSchemaGroup group)
void PreprocessElement(XmlSchemaElement element)
void Cleanup(XmlSchema schema)
XmlSchemaForm _attributeFormDefault
void PreprocessNotation(XmlSchemaNotation notation)
void ValidateIdAttribute(XmlSchemaObject xso)
Hashtable _chameleonSchemas
void GetIncludedSet(XmlSchema schema, ArrayList includesList)
XmlSchemaDerivationMethod _finalDefault
Hashtable _schemaLocations
XmlSchema _rootSchemaForRedefine
static XmlSchema s_builtInSchemaForXmlNS
void CheckRefinedAttributeGroup(XmlSchemaAttributeGroup attributeGroup)
XmlReaderSettings _readerSettings
void ValidateQNameAttribute(XmlSchemaObject xso, string attributeName, XmlQualifiedName value)
void PreprocessAnnotation(XmlSchemaAnnotation annotation)
void PreprocessComplexType(XmlSchemaComplexType complexType, bool local)
void CopyIncludedComponents(XmlSchema includedSchema, XmlSchema schema)
bool Execute(XmlSchema schema, string targetNamespace, bool loadExternals)
Preprocessor(XmlNameTable nameTable, SchemaNames schemaNames, ValidationEventHandler eventHandler)
readonly Hashtable _referenceNamespaces
void PreprocessAttributeGroup(XmlSchemaAttributeGroup attributeGroup)
void CleanupRedefine(XmlSchemaExternal include)
Hashtable SchemaLocations
XmlSchemaObjectCollection Items
Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
XmlSchemaType? SchemaType
bool HasAbstractAttribute
bool HasNillableAttribute
XmlSchemaDerivationMethod Final
void SetBlockResolved(XmlSchemaDerivationMethod value)
XmlSchemaDerivationMethod Block
XmlSchemaObjectCollection Constraints
XmlQualifiedName SchemaTypeName
void SetFinalResolved(XmlSchemaDerivationMethod value)
XmlQualifiedName SubstitutionGroup
void SetQualifiedName(XmlQualifiedName value)
XmlSchemaObjectCollection Fields
void SetQualifiedName(XmlQualifiedName value)
XmlQualifiedName QualifiedName
void Insert(XmlQualifiedName name, XmlSchemaObject value)
void Add(XmlQualifiedName name, XmlSchemaObject value)
virtual ? string NameAttribute
virtual ? string IdAttribute
XmlSchemaObjectCollection Items
XmlSchemaObjectTable AttributeGroups
XmlSchemaObjectTable SchemaTypes
XmlSchemaObjectTable Groups
XmlSchemaObjectTable SchemaTypes
XmlSchemaObjectTable AttributeGroups
ArrayList ImportedNamespaces
XmlSchemaObjectTable Groups
XmlSchemaObjectTable IdentityConstraints
ArrayList ImportedSchemas
static int ParseNCName(string s, int offset)
static string NonCDataNormalize(string value)
static ? string VerifyTOKEN(string? token)
static string VerifyNCName(string name)
static Uri ToUri(string s)
static string[] BuildCharExceptionArgs(string data, int invCharIndex)
override string ToString()
static readonly XmlQualifiedName Empty
static XmlReader Create(string inputUri)
object? GetEntity(Uri absoluteUri, string? role, Type? ofObjectToReturn)
virtual Uri ResolveUri(Uri? baseUri, string? relativeUri)
XmlSchemaDerivationMethod