ValidateWhitespace()

XmlSchemaValidator::ValidateWhitespace(const String&) method

Validates whether the white space in the string specified is allowed in the current element context, and accumulates the white space for validation if the current element has simple content.

void System::Xml::Schema::XmlSchemaValidator::ValidateWhitespace(const String &elementValue)

Arguments

ParameterTypeDescription
elementValueconst String&A white space string to validate in the current element context.

XmlSchemaValidator::ValidateWhitespace(XmlValueGetter) method

Validates whether the white space returned by the XmlValueGetter object specified is allowed in the current element context, and accumulates the white space for validation if the current element has simple content.

void System::Xml::Schema::XmlSchemaValidator::ValidateWhitespace(XmlValueGetter elementValue)

Arguments

ParameterTypeDescription
elementValueXmlValueGetterAn XmlValueGetter callback used to pass the white space value as a type compatible with the XML Schema Definition Language (XSD) type of the attribute.

See Also