185 for (
int i = 0; i < attributes.
Count; i++)
320 for (
int i = 0; i < attributes.
Count; i++)
366 for (
int i = 0; i < attributes.
Count; i++)
435 if (
text.Length != 0)
466 while (parentNode !=
null);
467 if (parentNode ==
null)
597 for (
int i = 0; i < attributes.
Count; i++)
static unsafe void Copy(Array sourceArray, Array destinationArray, int length)
bool ContainsKey(TKey key)
int Initialize(int capacity)
void Add(TKey key, TValue value)
static string Xml_UnexpectedNodeType
static string Format(string resourceFormat, object p1)
static string XmlDocument_NoNodeSchemaInfo
static string Xml_InvalidXmlDocument
static string Xdom_NoRootEle
static string XmlDocument_ValidateInvalidNodeType
void SetDefaultAttributeSchemaInfo(XmlSchemaAttribute schemaAttribute)
string LookupPrefix(string namespaceName)
XmlSchemaObject GetTypeFromAncestors(XmlElement elementToValidate, XmlSchemaObject ancestorType, int ancestorsCount)
string GetDefaultPrefix(string attributeNS)
bool Validate(XmlNode nodeToValidate)
readonly ValidationEventHandler _eventHandler
void ValidateSingleElement(XmlElement elementNode, bool skipToEnd, XmlSchemaInfo newSchemaInfo)
XmlSchemaInfo _schemaInfo
void ValidateChildrenTillNextAncestor(XmlNode parentNode, XmlNode childToStopAt)
readonly XmlNamespaceManager _nsManager
void CheckNodeSequenceCapacity(int currentIndex)
ArrayList _defaultAttributes
XmlNode[] _nodeSequenceToValidate
readonly XmlValueGetter _nodeValueGetter
XmlSchemaAttribute FindSchemaInfo(XmlAttribute attributeToValidate)
readonly XmlDocument _document
void ValidateNode(XmlNode node)
void TypeFinderCallBack(object sender, ValidationEventArgs arg)
string LookupNamespace(string prefix)
XmlSchemaComplexType GetComplexType(XmlSchemaObject schemaObject)
void CreateValidator(XmlSchemaObject partialValidationType, XmlSchemaValidationFlags validationFlags)
void ValidateAttributes(XmlElement elementNode)
bool AncestorTypeHasWildcard(XmlSchemaObject ancestorType)
readonly XmlSchemaSet _schemas
void InternalValidationCallBack(object sender, ValidationEventArgs arg)
XmlSchemaObject FindSchemaInfo(XmlElement elementToValidate)
XmlSchemaValidator _validator
XmlSchemaInfo _attributeSchemaInfo
IDictionary< string, string > GetNamespacesInScope(XmlNamespaceScope scope)
IXmlNamespaceResolver NamespaceResolver
XmlSchemaValidator CreateTypeFinderValidator(XmlSchemaObject partialValidationType)
readonly XmlNameTable _nameTable
readonly ValidationEventHandler _internalEventHandler
DocumentSchemaValidator(XmlDocument ownerDocument, XmlSchemaSet schemas, ValidationEventHandler eventHandler)
static bool Equal(string strA, string strB)
static XmlSchemaComplexType AnyType
static XmlSchemaComplexType AnyTypeSkip
SchemaElementDecl? ElementDecl
XmlSchemaElement? SchemaElement
XmlSchemaType? SchemaType
XmlSchemaObjectTable GlobalElements
XmlSchemaObjectTable GlobalAttributes
XmlSchemaContentProcessing CurrentProcessContents
void SkipToEndElement(XmlSchemaInfo? schemaInfo)
void ValidateElement(string localName, string namespaceUri, XmlSchemaInfo? schemaInfo)
object? ValidateAttribute(string localName, string namespaceUri, string attributeValue, XmlSchemaInfo? schemaInfo)
object? ValidateEndElement(XmlSchemaInfo? schemaInfo)
void ValidateEndOfAttributes(XmlSchemaInfo? schemaInfo)
void GetUnspecifiedDefaultAttributes(ArrayList defaultAttributes)
void ValidateWhitespace(string elementValue)
void ValidateText(string elementValue)
XmlAttribute Append(XmlAttribute node)
static Uri ToUri(string s)
virtual XmlText CreateTextNode(string? text)
virtual XmlAttribute CreateDefaultAttribute(string? prefix, string localName, string? namespaceURI)
XmlName AddXmlName(string prefix, string localName, string namespaceURI, IXmlSchemaInfo schemaInfo)
XmlName AddAttrXmlName(string prefix, string localName, string namespaceURI, IXmlSchemaInfo schemaInfo)
virtual ? string LookupNamespace(string prefix)
virtual ? string LookupPrefix(string uri)
virtual IDictionary< string, string > GetNamespacesInScope(XmlNamespaceScope scope)
virtual void AddNamespace(string prefix, string uri)
virtual ? XmlNode ParentNode
virtual IXmlSchemaInfo SchemaInfo
virtual ? XmlNode FirstChild
string GetNamespaceOfPrefixStrict(string prefix)
string GetPrefixOfNamespaceStrict(string namespaceURI)
IDictionary< string, string > GetNamespacesInScope(XmlNamespaceScope scope)
XmlSchemaElement? SchemaElement
XmlSchemaType? SchemaType
XmlSchemaContentProcessing