59 if (
schema.BaseUri !=
null)
79 return !
base.HasErrors;
245 if (@
namespace !=
null && _referenceNamespaces[@
namespace] ==
null)
247 _referenceNamespaces.
Add(@
namespace, @
namespace);
284 if (
schema.Version !=
null)
375 if (@
namespace ==
null)
379 if (@
namespace.
Length == 0)
550 for (
int i = 0; i < redefine.
Items.
Count; i++)
670 for (
int i = 0; i < items.
Count; i++)
698 if (
group.Particle !=
null)
739 if (
ctype.ContentModel !=
null)
867 if (element.
Name !=
null)
900 if (element.
Form != 0)
921 if (element.
Name !=
null)
1033 if (constraint.
Name !=
null)
1415 if (
group.Name !=
null)
1424 if (
group.Particle ==
null)
1429 if (
group.Particle.MinOccursString !=
null)
1433 if (
group.Particle.MaxOccursString !=
null)
1519 for (
int j = 0;
j < items.
Count;
j++)
1578 for (
int i = 0; i < attributes.
Count; i++)
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
void Add(TKey key, TValue value)
virtual void Add(object key, object? value)
static string Sch_MinGtMax
static string Sch_InvalidComplexTypeBlockValue
static string Sch_AttributeValueDataType
static string Sch_IdConstraintNoFields
static string Sch_InvalidComplexTypeFinalValue
static string Sch_ImportTargetNamespaceNull
static string Sch_NoRestOrExtQName
static string Sch_InvalidIncludeLocation
static string Sch_InvalidNameAttributeEx
static string Sch_InvalidAny
static string Sch_RedefineNoSchema
static string Sch_InvalidIdAttribute
static string Sch_InvalidAnyAttribute
static string Sch_DupIdentityConstraint
static string Sch_SimpleTypeRestRefBase
static string Sch_MultipleAttrGroupSelfRef
static string Sch_MissAttribute
static string Sch_AttrGroupRedefineNotFound
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_GroupRedefineNotFound
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_ComplexTypeRedefineNotFound
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_InvalidFinalDefaultValue
static string Sch_SimpleTypeRedefineNotFound
static string Sch_SimpleToComplexTypeRedefine
static string Sch_InvalidSimpleTypeFinalValue
static string Sch_InvalidElementRef
static string Sch_MultipleGroupSelfRef
static string Sch_XmlNsAttribute
static string Sch_SimpleTypeListRefBase
static string Sch_CannotLoadSchema
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_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
void SendValidationEvent(string code, XmlSchemaObject source)
void AddToTable(XmlSchemaObjectTable table, XmlQualifiedName qname, XmlSchemaObject item)
void SendValidationEventNoThrow(XmlSchemaException e, XmlSeverityType severity)
static XmlSchema GetBuildInSchema()
void PreprocessLocalElement(XmlSchemaElement element)
void ValidateNameAttribute(XmlSchemaObject xso)
void PreprocessElement(XmlSchemaElement element)
void PreprocessAttribute(XmlSchemaAttribute attribute)
XmlSchemaDerivationMethod _blockDefault
void PreprocessAnnotation(XmlSchemaObject schemaObject)
void BuildRefNamespaces(XmlSchema schema)
Stream GetSchemaEntity(Uri ruri)
Hashtable _schemaLocations
SchemaCollectionPreprocessor(XmlNameTable nameTable, SchemaNames schemaNames, ValidationEventHandler eventHandler)
void PreprocessAttributes(XmlSchemaObjectCollection attributes, XmlSchemaAnyAttribute anyAttribute, XmlSchemaObject parent)
void PreprocessAttributeGroup(XmlSchemaAttributeGroup attributeGroup)
void CheckRefinedComplexType(XmlSchemaComplexType ctype)
void SetParent(XmlSchemaObject child, XmlSchemaObject parent)
void ValidateIdAttribute(XmlSchemaObject xso)
void PreprocessRedefine(XmlSchemaRedefine redefine)
void LoadExternals(XmlSchema schema, XmlSchemaCollection xsc)
void PreprocessIdentityConstraint(XmlSchemaIdentityConstraint constraint)
Uri ResolveSchemaLocationUri(XmlSchema enclosingSchema, string location)
void CheckRefinedAttributeGroup(XmlSchemaAttributeGroup attributeGroup)
int CountGroupSelfReference(XmlSchemaObjectCollection items, XmlQualifiedName name)
bool Execute(XmlSchema schema, string targetNamespace, bool loadExternals, XmlSchemaCollection xsc)
void PreprocessSimpleType(XmlSchemaSimpleType simpleType, bool local)
Hashtable _referenceNamespaces
void PreprocessParticle(XmlSchemaParticle particle)
void CheckRefinedGroup(XmlSchemaGroup group)
void PreprocessLocalAttribute(XmlSchemaAttribute attribute)
void CheckRefinedSimpleType(XmlSchemaSimpleType stype)
void PreprocessElementContent(XmlSchemaElement element)
void PreprocessComplexType(XmlSchemaComplexType complexType, bool local)
XmlSchemaForm _attributeFormDefault
void Cleanup(XmlSchema schema)
void PreprocessNotation(XmlSchemaNotation notation)
XmlSchemaDerivationMethod _finalDefault
XmlSchemaForm _elementFormDefault
void Preprocess(XmlSchema schema, string targetNamespace, Compositor compositor)
void PreprocessGroup(XmlSchemaGroup group)
void ValidateQNameAttribute(XmlSchemaObject xso, string attributeName, XmlQualifiedName value)
void PreprocessAttributeContent(XmlSchemaAttribute attribute)
XmlSchemaType? SchemaType
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 Add(XmlQualifiedName name, XmlSchemaObject value)
virtual ? string NameAttribute
virtual ? string IdAttribute
XmlSchemaObjectCollection Items
XmlSchemaObjectTable AttributeGroups
XmlSchemaObjectTable SchemaTypes
XmlSchemaObjectTable Groups
XmlSchemaObjectTable SchemaTypes
XmlSchemaObjectTable AttributeGroups
XmlSchemaObjectTable Groups
XmlSchemaObjectTable IdentityConstraints
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
object? GetEntity(Uri absoluteUri, string? role, Type? ofObjectToReturn)
virtual Uri ResolveUri(Uri? baseUri, string? relativeUri)
XmlSchemaDerivationMethod