ValidateEndOfAttributes()

XmlSchemaValidator::ValidateEndOfAttributes(const SharedPtr<XmlSchemaInfo>&) method

Verifies whether all the required attributes in the element context are present and prepares the XmlSchemaValidator object to validate the child content of the element.

void System::Xml::Schema::XmlSchemaValidator::ValidateEndOfAttributes(const SharedPtr<XmlSchemaInfo> &schemaInfo)

Arguments

ParameterTypeDescription
schemaInfoconst SharedPtr<XmlSchemaInfo>&An XmlSchemaInfo object whose properties are set on successful verification that all the required attributes in the element context are present. This parameter can be nullptr.

Exceptions

ExceptionDescription
XmlSchemaValidationExceptionOne or more of the required attributes in the current element context were not found.
InvalidOperationExceptionThe XmlSchemaValidator::ValidateEndOfAttributes method was not called in the correct sequence. For example, calling XmlSchemaValidator::ValidateEndOfAttributes after calling XmlSchemaValidator::SkipToEndElement.
ArgumentNullExceptionOne or more of the parameters specified are nullptr.

See Also