System::Xml::Schema::XmlSchemaValidator::ValidateEndElement method

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

Verifies if the text content of the element is valid according to its data type for elements with simple content, and verifies if the content of the current element is complete for elements with complex content.

SharedPtr<Object> System::Xml::Schema::XmlSchemaValidator::ValidateEndElement(const SharedPtr<XmlSchemaInfo> &schemaInfo)
ParameterTypeDescription
schemaInfoconst SharedPtr<XmlSchemaInfo>&An XmlSchemaInfo object whose properties are set on successful validation of the element. This parameter can be nullptr.

ReturnValue

The parsed, typed text value of the element if the element has simple content.

See Also

XmlSchemaValidator::ValidateEndElement(const SharedPtr<XmlSchemaInfo>&, const SharedPtr<Object>&) method

Verifies if the text content of the element specified is valid according to its data type.

SharedPtr<Object> System::Xml::Schema::XmlSchemaValidator::ValidateEndElement(const SharedPtr<XmlSchemaInfo> &schemaInfo, const SharedPtr<Object> &typedValue)
ParameterTypeDescription
schemaInfoconst SharedPtr<XmlSchemaInfo>&An XmlSchemaInfo object whose properties are set on successful validation of the text content of the element. This parameter can be nullptr.
typedValueconst SharedPtr<Object>&The typed text content of the element.

ReturnValue

The parsed, typed simple content of the element.

See Also