System::Xml::Schema Namespace Reference

Represents an exception that is thrown when an error occurs during parsing of XML schema. More...

Classes

class  ValidationEventArgs
 
class  XmlSchema
 
class  XmlSchemaSet
 

Typedefs

typedef std::function< void(SharedPtr< Object >, SharedPtr< ValidationEventArgs >)> ValidationEventHandler
 An alias for a function object type that is used to handle validation events. More...
 
typedef System::Event< void(SharedPtr< Object >, SharedPtr< ValidationEventArgs >)> ValidatingEventSignal
 An alias for an event type that signals a validation event. More...
 

Enumerations

enum  XmlSchemaValidationFlags {
  XmlSchemaValidationFlags::None = 0, XmlSchemaValidationFlags::ProcessInlineSchema = 1, XmlSchemaValidationFlags::ProcessSchemaLocation = 2, XmlSchemaValidationFlags::ReportValidationWarnings = 4,
  XmlSchemaValidationFlags::ProcessIdentityConstraints = 8, XmlSchemaValidationFlags::AllowXmlAttributes = 16
}
 Represents schema validation settings used by the XmlSchemaValidator and XmlReader classes. More...
 
enum  XmlSeverityType { XmlSeverityType::Error, XmlSeverityType::Warning }
 Represents the severity type of the validation event. More...
 

Functions

 DECLARE_INHERITED_EXCEPTION (XmlSchemaException, System::Details_SystemException)
 Declaration of XmlSchemaExcetion which provides detailed information about schema errors. More...
 

Detailed Description

Represents an exception that is thrown when an error occurs during parsing of XML schema.

Typedef Documentation

◆ ValidatingEventSignal

An alias for an event type that signals a validation event.

◆ ValidationEventHandler

An alias for a function object type that is used to handle validation events.

Enumeration Type Documentation

◆ XmlSchemaValidationFlags

Represents schema validation settings used by the XmlSchemaValidator and XmlReader classes.

Enumerator
None 

Do not process identity constraints, inline schemas, schema location hints, or report schema validation warnings.

ProcessInlineSchema 

Process inline schemas that are encountered during validation.

ProcessSchemaLocation 

Process schema location hints (xsi:schemaLocation, xsi:noNamespaceSchemaLocation) encountered during validation.

ReportValidationWarnings 

Report schema validation warnings encountered during validation.

ProcessIdentityConstraints 

Process identity constraints (xs:ID, xs:IDREF, xs:key, xs:keyref, xs:unique) encountered during validation.

AllowXmlAttributes 

Allow xml:* attributes even if they are not defined in the schema. The attributes will be validated based on their data type.

◆ XmlSeverityType

Represents the severity type of the validation event.

Enumerator
Error 

Errors that can be recovered from.

Warning 

Errors that can be ignored.

Function Documentation

◆ DECLARE_INHERITED_EXCEPTION()

System::Xml::Schema::DECLARE_INHERITED_EXCEPTION ( XmlSchemaException  ,
System::Details_SystemException   
)

Declaration of XmlSchemaExcetion which provides detailed information about schema errors.