Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ThrowDeclNotFoundWarningOrError()

void System.Xml.Schema.XmlSchemaValidator.ThrowDeclNotFoundWarningOrError ( bool declFound)
inlineprivate

Definition at line 1661 of file XmlSchemaValidator.cs.

1662 {
1663 if (declFound)
1664 {
1665 _processContents = (_context.ProcessContents = XmlSchemaContentProcessing.Skip);
1667 }
1668 else if (HasSchema && _processContents == XmlSchemaContentProcessing.Strict)
1669 {
1670 _processContents = (_context.ProcessContents = XmlSchemaContentProcessing.Skip);
1673 }
1674 else
1675 {
1677 }
1678 }
static string Sch_NoElementSchemaFound
Definition SR.cs:786
static string Sch_UndeclaredElement
Definition SR.cs:412
Definition SR.cs:7
XmlSchemaContentProcessing _processContents
static string QNameString(string localName, string ns)

References System.Xml.Schema.XmlSchemaValidator._context, System.Xml.Schema.XmlSchemaValidator._processContents, System.Xml.Dictionary, System.Xml.Schema.XmlSchemaValidator.HasSchema, System.Xml.Schema.ValidationState.LocalName, System.Xml.Schema.ValidationState.Namespace, System.Xml.Schema.XmlSchemaValidator.QNameString(), System.SR.Sch_NoElementSchemaFound, System.SR.Sch_UndeclaredElement, and System.Xml.Schema.XmlSchemaValidator.SendValidationEvent().

Referenced by System.Xml.Schema.XmlSchemaValidator.ValidateElement().