Inherits System::Object.
Public Types | |
using | Ptr = SharedPtr< XmlSchemaValidator > |
An alias for shared pointer to an instance of this class. More... | |
Public Types inherited from System::Object | |
typedef SmartPtr< Object > | ptr |
Alias for smart pointer type. More... | |
Public Member Functions | |
ASPOSECPP_SHARED_API void | set_XmlResolver (const SharedPtr< System::Xml::XmlResolver > &value) |
ASPOSECPP_SHARED_API SharedPtr< IXmlLineInfo > | get_LineInfoProvider () |
ASPOSECPP_SHARED_API void | set_LineInfoProvider (const SharedPtr< IXmlLineInfo > &value) |
ASPOSECPP_SHARED_API SharedPtr< Uri > | get_SourceUri () |
ASPOSECPP_SHARED_API void | set_SourceUri (const SharedPtr< Uri > &value) |
ASPOSECPP_SHARED_API SharedPtr< Object > | get_ValidationEventSender () |
ASPOSECPP_SHARED_API void | set_ValidationEventSender (const SharedPtr< Object > &value) |
ASPOSECPP_SHARED_API | XmlSchemaValidator (const SharedPtr< XmlNameTable > &nameTable, const SharedPtr< XmlSchemaSet > &schemas, const SharedPtr< IXmlNamespaceResolver > &namespaceResolver, XmlSchemaValidationFlags validationFlags) |
ASPOSECPP_SHARED_API void | AddSchema (const SharedPtr< XmlSchema > &schema) |
ASPOSECPP_SHARED_API void | Initialize () |
ASPOSECPP_SHARED_API void | Initialize (const SharedPtr< XmlSchemaObject > &partialValidationType) |
ASPOSECPP_SHARED_API void | ValidateElement (const String &localName, const String &namespaceUri, const SharedPtr< XmlSchemaInfo > &schemaInfo) |
ASPOSECPP_SHARED_API void | ValidateElement (const String &localName, const String &namespaceUri, const SharedPtr< XmlSchemaInfo > &schemaInfo, const String &xsiType, const String &xsiNil, const String &xsiSchemaLocation, const String &xsiNoNamespaceSchemaLocation) |
ASPOSECPP_SHARED_API SharedPtr< Object > | ValidateAttribute (const String &localName, const String &namespaceUri, const String &attributeValue, const SharedPtr< XmlSchemaInfo > &schemaInfo) |
ASPOSECPP_SHARED_API SharedPtr< Object > | ValidateAttribute (const String &localName, const String &namespaceUri, XmlValueGetter attributeValue, const SharedPtr< XmlSchemaInfo > &schemaInfo) |
ASPOSECPP_SHARED_API void | GetUnspecifiedDefaultAttributes (const SharedPtr< Collections::Generic::List< SharedPtr< Object >>> &defaultAttributes) |
ASPOSECPP_SHARED_API void | ValidateEndOfAttributes (const SharedPtr< XmlSchemaInfo > &schemaInfo) |
ASPOSECPP_SHARED_API void | ValidateText (const String &elementValue) |
ASPOSECPP_SHARED_API void | ValidateText (XmlValueGetter elementValue) |
ASPOSECPP_SHARED_API void | ValidateWhitespace (const String &elementValue) |
ASPOSECPP_SHARED_API void | ValidateWhitespace (XmlValueGetter elementValue) |
ASPOSECPP_SHARED_API SharedPtr< Object > | ValidateEndElement (const SharedPtr< XmlSchemaInfo > &schemaInfo) |
ASPOSECPP_SHARED_API SharedPtr< Object > | ValidateEndElement (const SharedPtr< XmlSchemaInfo > &schemaInfo, const SharedPtr< Object > &typedValue) |
ASPOSECPP_SHARED_API void | SkipToEndElement (const SharedPtr< XmlSchemaInfo > &schemaInfo) |
ASPOSECPP_SHARED_API void | EndValidation () |
ASPOSECPP_SHARED_API ArrayPtr< SharedPtr< XmlSchemaParticle > > | GetExpectedParticles () |
ASPOSECPP_SHARED_API ArrayPtr< SharedPtr< XmlSchemaAttribute > > | GetExpectedAttributes () |
Public Member Functions inherited from System::Object | |
ASPOSECPP_SHARED_API | Object () |
Creates object. Initializes all internal data structures. More... | |
virtual ASPOSECPP_SHARED_API | ~Object () |
Destroys object. Frees all internal data structures. More... | |
ASPOSECPP_SHARED_API | Object (Object const &x) |
Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object & | operator= (Object const &x) |
Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object * | SharedRefAdded () |
Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
int | SharedRefRemovedSafe () |
Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
int | RemovedSharedRefs (int count) |
Decreases shared reference count by specified value. More... | |
Detail::SmartPtrCounter * | WeakRefAdded () |
Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
void | WeakRefRemoved () |
Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
Detail::SmartPtrCounter * | GetCounter () |
Gets reference counter data structure associated with the object. More... | |
int | SharedCount () const |
Gets current value of shared reference counter. More... | |
ASPOSECPP_SHARED_API void | Lock () |
Implements C# lock() statement locking. Call directly or use LockContext sentry object. More... | |
ASPOSECPP_SHARED_API void | Unlock () |
Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More... | |
virtual ASPOSECPP_SHARED_API bool | Equals (ptr obj) |
Compares objects using C# Object.Equals semantics. More... | |
virtual ASPOSECPP_SHARED_API int32_t | GetHashCode () const |
Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More... | |
virtual ASPOSECPP_SHARED_API String | ToString () const |
Analog of C# Object.ToString() method. Enables converting custom objects to string. More... | |
virtual ASPOSECPP_SHARED_API ptr | MemberwiseClone () const |
Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More... | |
virtual ASPOSECPP_SHARED_API const TypeInfo & | GetType () const |
Gets actual type of object. Analog of C# System.Object.GetType() call. More... | |
virtual ASPOSECPP_SHARED_API bool | Is (const TypeInfo &targetType) const |
Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More... | |
virtual ASPOSECPP_SHARED_API void | SetTemplateWeakPtr (uint32_t argument) |
Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More... | |
virtual ASPOSECPP_SHARED_API bool | FastCast (const Details::FastRttiBase &helper, void **out_ptr) const |
For internal purposes only. More... | |
template<> | |
bool | Equals (float const &objA, float const &objB) |
template<> | |
bool | Equals (double const &objA, double const &objB) |
template<> | |
bool | ReferenceEquals (String const &str, std::nullptr_t) |
template<> | |
bool | ReferenceEquals (String const &str1, String const &str2) |
Public Attributes | |
System::Xml::Schema::ValidationEventHandler | ValidationEventHandler |
The ValidationEventHandler that receives schema validation warnings and errors encountered during schema validation. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from System::Object | |
static bool | ReferenceEquals (ptr const &objA, ptr const &objB) |
Compares objects by reference. More... | |
template<typename T > | |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, T const &objB) |
Compares objects by reference. More... | |
template<typename T > | |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, std::nullptr_t) |
Reference-compares value type object with nullptr. More... | |
template<typename T1 , typename T2 > | |
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
Compares reference type objects in C# style. More... | |
template<typename T1 , typename T2 > | |
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
Compares value type objects in C# style. More... | |
static const TypeInfo & | Type () |
Implements C# typeof(System.Object) construct. More... | |
Represents an XML Schema Definition Language (XSD) Schema validation engine. The XmlSchemaValidator class cannot be inherited.
An alias for shared pointer to an instance of this class.
ASPOSECPP_SHARED_API System::Xml::Schema::XmlSchemaValidator::XmlSchemaValidator | ( | const SharedPtr< XmlNameTable > & | nameTable, |
const SharedPtr< XmlSchemaSet > & | schemas, | ||
const SharedPtr< IXmlNamespaceResolver > & | namespaceResolver, | ||
XmlSchemaValidationFlags | validationFlags | ||
) |
Initializes a new instance of the XmlSchemaValidator class.
nameTable | An XmlNameTable object containing element and attribute names as atomized strings. |
schemas | An XmlSchemaSet object containing the XML Schema Definition Language (XSD) schemas used for validation. |
namespaceResolver | An IXmlNamespaceResolver object used for resolving namespaces encountered during validation. |
validationFlags | An XmlSchemaValidationFlags value specifying schema validation options. |
ArgumentNullException | One or more of the parameters specified are nullptr . |
XmlSchemaException | An error occurred while compiling schemas in the XmlSchemaSet parameter. |
ASPOSECPP_SHARED_API void System::Xml::Schema::XmlSchemaValidator::AddSchema | ( | const SharedPtr< XmlSchema > & | schema | ) |
Adds an XML Schema Definition Language (XSD) schema to the set of schemas used for validation.
schema | An XmlSchema object to add to the set of schemas used for validation. |
ArgumentNullException | The XmlSchema parameter specified is nullptr . |
XmlSchemaValidationException | The target namespace of the XmlSchema parameter matches that of any element or attribute already encountered by the XmlSchemaValidator object. |
XmlSchemaException | The XmlSchema parameter is invalid. |
ASPOSECPP_SHARED_API void System::Xml::Schema::XmlSchemaValidator::EndValidation | ( | ) |
Ends validation and checks identity constraints for the entire XML document.
XmlSchemaValidationException | An identity constraint error was found in the XML document. |
ASPOSECPP_SHARED_API SharedPtr<IXmlLineInfo> System::Xml::Schema::XmlSchemaValidator::get_LineInfoProvider | ( | ) |
Returns the line number information for the XML node being validated.
Returns the source URI for the XML node being validated.
nullptr
. ASPOSECPP_SHARED_API SharedPtr<Object> System::Xml::Schema::XmlSchemaValidator::get_ValidationEventSender | ( | ) |
Returns the object sent as the sender object of a validation event.
ASPOSECPP_SHARED_API ArrayPtr<SharedPtr<XmlSchemaAttribute> > System::Xml::Schema::XmlSchemaValidator::GetExpectedAttributes | ( | ) |
Returns the expected attributes for the current element context.
ASPOSECPP_SHARED_API ArrayPtr<SharedPtr<XmlSchemaParticle> > System::Xml::Schema::XmlSchemaValidator::GetExpectedParticles | ( | ) |
Returns the expected particles in the current element context.
ASPOSECPP_SHARED_API void System::Xml::Schema::XmlSchemaValidator::GetUnspecifiedDefaultAttributes | ( | const SharedPtr< Collections::Generic::List< SharedPtr< Object >>> & | defaultAttributes | ) |
Validates identity constraints on the default attributes and populates the List specified with XmlSchemaAttribute objects for any attributes with default values that have not been previously validated using the XmlSchemaValidator::ValidateAttribute method in the element context.
defaultAttributes | A List to populate with XmlSchemaAttribute objects for any attributes not yet encountered during validation in the element context. |
ASPOSECPP_SHARED_API void System::Xml::Schema::XmlSchemaValidator::Initialize | ( | ) |
Initializes the state of the XmlSchemaValidator object.
InvalidOperationException | Calling the XmlSchemaValidator::Initialize method is valid immediately after the construction of an XmlSchemaValidator object or after a call to XmlSchemaValidator::EndValidation only. |
ASPOSECPP_SHARED_API void System::Xml::Schema::XmlSchemaValidator::Initialize | ( | const SharedPtr< XmlSchemaObject > & | partialValidationType | ) |
Initializes the state of the XmlSchemaValidator object using the XmlSchemaObject specified for partial validation.
partialValidationType | An XmlSchemaElement, XmlSchemaAttribute, or XmlSchemaType object used to initialize the validation context of the XmlSchemaValidator object for partial validation. |
InvalidOperationException | Calling the XmlSchemaValidator::Initialize method is valid immediately after the construction of an XmlSchemaValidator object or after a call to XmlSchemaValidator::EndValidation only. |
ArgumentException | The XmlSchemaObject parameter is not an XmlSchemaElement, XmlSchemaAttribute, or XmlSchemaType object. |
ArgumentNullException | The XmlSchemaObject parameter cannot be nullptr . |
ASPOSECPP_SHARED_API void System::Xml::Schema::XmlSchemaValidator::set_LineInfoProvider | ( | const SharedPtr< IXmlLineInfo > & | value | ) |
Sets the line number information for the XML node being validated.
value | The value to set. |
ASPOSECPP_SHARED_API void System::Xml::Schema::XmlSchemaValidator::set_SourceUri | ( | const SharedPtr< Uri > & | value | ) |
Sets the source URI for the XML node being validated.
value | The value to set. |
ASPOSECPP_SHARED_API void System::Xml::Schema::XmlSchemaValidator::set_ValidationEventSender | ( | const SharedPtr< Object > & | value | ) |
Sets the object sent as the sender object of a validation event.
value | The value to set. |
ASPOSECPP_SHARED_API void System::Xml::Schema::XmlSchemaValidator::set_XmlResolver | ( | const SharedPtr< System::Xml::XmlResolver > & | value | ) |
Sets the XmlResolver object used to resolve xs:import
and xs:include
elements as well as xsi:schemaLocation
and xsi:noNamespaceSchemaLocation
attributes.
value | The value to set. |
ASPOSECPP_SHARED_API void System::Xml::Schema::XmlSchemaValidator::SkipToEndElement | ( | const SharedPtr< XmlSchemaInfo > & | schemaInfo | ) |
Skips validation of the current element content and prepares the XmlSchemaValidator object to validate content in the parent element's context.
schemaInfo | An XmlSchemaInfo object whose properties are set if the current element content is successfully skipped. This parameter can be nullptr . |
InvalidOperationException | The method was not called in the correct sequence. For example, calling XmlSchemaValidator::SkipToEndElement after calling XmlSchemaValidator::SkipToEndElement. |
ASPOSECPP_SHARED_API SharedPtr<Object> System::Xml::Schema::XmlSchemaValidator::ValidateAttribute | ( | const String & | localName, |
const String & | namespaceUri, | ||
const String & | attributeValue, | ||
const SharedPtr< XmlSchemaInfo > & | schemaInfo | ||
) |
Validates the attribute name, namespace URI, and value in the current element context.
localName | The local name of the attribute to validate. |
namespaceUri | The namespace URI of the attribute to validate. |
attributeValue | The value of the attribute to validate. |
schemaInfo | An XmlSchemaInfo object whose properties are set on successful validation of the attribute. This parameter can be nullptr . |
XmlSchemaValidationException | The attribute is not valid in the current element context. |
InvalidOperationException | The XmlSchemaValidator::ValidateAttribute method was not called in the correct sequence. For example, calling XmlSchemaValidator::ValidateAttribute after calling XmlSchemaValidator::ValidateEndOfAttributes. |
ArgumentNullException | One or more of the parameters specified are nullptr . |
ASPOSECPP_SHARED_API SharedPtr<Object> System::Xml::Schema::XmlSchemaValidator::ValidateAttribute | ( | const String & | localName, |
const String & | namespaceUri, | ||
XmlValueGetter | attributeValue, | ||
const SharedPtr< XmlSchemaInfo > & | schemaInfo | ||
) |
Validates the attribute name, namespace URI, and value in the current element context.
localName | The local name of the attribute to validate. |
namespaceUri | The namespace URI of the attribute to validate. |
attributeValue | An XmlValueGetter callback used to pass the attribute's value as a type compatible with the XML Schema Definition Language (XSD) type of the attribute. |
schemaInfo | An XmlSchemaInfo object whose properties are set on successful validation of the attribute. This parameter and can be nullptr . |
XmlSchemaValidationException | The attribute is not valid in the current element context. |
InvalidOperationException | The XmlSchemaValidator::ValidateAttribute method was not called in the correct sequence. For example, calling XmlSchemaValidator::ValidateAttribute after calling XmlSchemaValidator::ValidateEndOfAttributes. |
ArgumentNullException | One or more of the parameters specified are nullptr . |
ASPOSECPP_SHARED_API void System::Xml::Schema::XmlSchemaValidator::ValidateElement | ( | const String & | localName, |
const String & | namespaceUri, | ||
const SharedPtr< XmlSchemaInfo > & | schemaInfo | ||
) |
Validates the element in the current context.
localName | The local name of the element to validate. |
namespaceUri | The namespace URI of the element to validate. |
schemaInfo | An XmlSchemaInfo object whose properties are set on successful validation of the element's name. This parameter can be nullptr . |
XmlSchemaValidationException | The element's name is not valid in the current context. |
InvalidOperationException | The XmlSchemaValidator::ValidateElement method was not called in the correct sequence. For example, the XmlSchemaValidator::ValidateElement method is called after calling XmlSchemaValidator::ValidateAttribute. |
ASPOSECPP_SHARED_API void System::Xml::Schema::XmlSchemaValidator::ValidateElement | ( | const String & | localName, |
const String & | namespaceUri, | ||
const SharedPtr< XmlSchemaInfo > & | schemaInfo, | ||
const String & | xsiType, | ||
const String & | xsiNil, | ||
const String & | xsiSchemaLocation, | ||
const String & | xsiNoNamespaceSchemaLocation | ||
) |
Validates the element in the current context with the xsi:Type
, xsi:Nil
, xsi:SchemaLocation
, and xsi:NoNamespaceSchemaLocation
attribute values specified.
localName | The local name of the element to validate. |
namespaceUri | The namespace URI of the element to validate. |
schemaInfo | An XmlSchemaInfo object whose properties are set on successful validation of the element's name. This parameter can be nullptr . |
xsiType | The xsi:Type attribute value of the element. This parameter can be nullptr . |
xsiNil | The xsi:Nil attribute value of the element. This parameter can be nullptr . |
xsiSchemaLocation | The xsi:SchemaLocation attribute value of the element. This parameter can be nullptr . |
xsiNoNamespaceSchemaLocation | The xsi:NoNamespaceSchemaLocation attribute value of the element. This parameter can be nullptr . |
XmlSchemaValidationException | The element's name is not valid in the current context. |
InvalidOperationException | The XmlSchemaValidator::ValidateElement method was not called in the correct sequence. For example, the XmlSchemaValidator::ValidateElement method is called after calling XmlSchemaValidator::ValidateAttribute. |
ASPOSECPP_SHARED_API SharedPtr<Object> System::Xml::Schema::XmlSchemaValidator::ValidateEndElement | ( | const SharedPtr< XmlSchemaInfo > & | schemaInfo | ) |
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.
schemaInfo | An XmlSchemaInfo object whose properties are set on successful validation of the element. This parameter can be nullptr . |
XmlSchemaValidationException | The element's content is not valid. |
InvalidOperationException | The XmlSchemaValidator::ValidateEndElement method was not called in the correct sequence. For example, if the XmlSchemaValidator::ValidateEndElement method is called after calling XmlSchemaValidator::SkipToEndElement. |
ASPOSECPP_SHARED_API SharedPtr<Object> System::Xml::Schema::XmlSchemaValidator::ValidateEndElement | ( | const SharedPtr< XmlSchemaInfo > & | schemaInfo, |
const SharedPtr< Object > & | typedValue | ||
) |
Verifies if the text content of the element specified is valid according to its data type.
schemaInfo | An XmlSchemaInfo object whose properties are set on successful validation of the text content of the element. This parameter can be nullptr . |
typedValue | The typed text content of the element. |
XmlSchemaValidationException | The element's text content is not valid. |
InvalidOperationException | The XmlSchemaValidator::ValidateEndElement method was not called in the correct sequence (for example, if the XmlSchemaValidator::ValidateEndElement method is called after calling XmlSchemaValidator::SkipToEndElement), calls to the XmlSchemaValidator::ValidateText method have been previously made, or the element has complex content. |
ArgumentNullException | The typed text content parameter cannot be nullptr . |
ASPOSECPP_SHARED_API void System::Xml::Schema::XmlSchemaValidator::ValidateEndOfAttributes | ( | const SharedPtr< XmlSchemaInfo > & | schemaInfo | ) |
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.
schemaInfo | 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 . |
XmlSchemaValidationException | One or more of the required attributes in the current element context were not found. |
InvalidOperationException | The XmlSchemaValidator::ValidateEndOfAttributes method was not called in the correct sequence. For example, calling XmlSchemaValidator::ValidateEndOfAttributes after calling XmlSchemaValidator::SkipToEndElement. |
ArgumentNullException | One or more of the parameters specified are nullptr . |
ASPOSECPP_SHARED_API void System::Xml::Schema::XmlSchemaValidator::ValidateText | ( | const String & | elementValue | ) |
Validates whether the text string
specified is allowed in the current element context, and accumulates the text for validation if the current element has simple content.
elementValue | A text string to validate in the current element context. |
XmlSchemaValidationException | The text string specified is not allowed in the current element context. |
InvalidOperationException | The XmlSchemaValidator::ValidateText method was not called in the correct sequence. For example, the XmlSchemaValidator::ValidateText method is called after calling XmlSchemaValidator::ValidateAttribute. |
ArgumentNullException | The text string parameter cannot be nullptr . |
ASPOSECPP_SHARED_API void System::Xml::Schema::XmlSchemaValidator::ValidateText | ( | XmlValueGetter | elementValue | ) |
Validates whether the text returned by the XmlValueGetter object specified is allowed in the current element context, and accumulates the text for validation if the current element has simple content.
elementValue | An XmlValueGetter callback used to pass the text value as a type compatible with the XML Schema Definition Language (XSD) type of the attribute. |
XmlSchemaValidationException | The text string specified is not allowed in the current element context. |
InvalidOperationException | The XmlSchemaValidator::ValidateText method was not called in the correct sequence. For example, the XmlSchemaValidator::ValidateText method is called after calling XmlSchemaValidator::ValidateAttribute. |
ArgumentNullException | The text string parameter cannot be nullptr . |
ASPOSECPP_SHARED_API void System::Xml::Schema::XmlSchemaValidator::ValidateWhitespace | ( | const String & | elementValue | ) |
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.
elementValue | A white space string to validate in the current element context. |
XmlSchemaValidationException | White space is not allowed in the current element context. |
InvalidOperationException | The XmlSchemaValidator::ValidateWhitespace method was not called in the correct sequence. For example, if the XmlSchemaValidator::ValidateWhitespace method is called after calling XmlSchemaValidator::ValidateAttribute. |
ASPOSECPP_SHARED_API void System::Xml::Schema::XmlSchemaValidator::ValidateWhitespace | ( | XmlValueGetter | elementValue | ) |
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.
elementValue | An XmlValueGetter callback used to pass the white space value as a type compatible with the XML Schema Definition Language (XSD) type of the attribute. |
XmlSchemaValidationException | White space is not allowed in the current element context. |
InvalidOperationException | The XmlSchemaValidator::ValidateWhitespace method was not called in the correct sequence. For example, if the XmlSchemaValidator::ValidateWhitespace method is called after calling XmlSchemaValidator::ValidateAttribute. |
System::Xml::Schema::ValidationEventHandler System::Xml::Schema::XmlSchemaValidator::ValidationEventHandler |
The ValidationEventHandler that receives schema validation warnings and errors encountered during schema validation.