System::Xml::Schema Namespace Reference

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...
 
enum  XmlTypeCode {
  XmlTypeCode::None, XmlTypeCode::Item, XmlTypeCode::Node, XmlTypeCode::Document,
  XmlTypeCode::Element, XmlTypeCode::Attribute, XmlTypeCode::Namespace, XmlTypeCode::ProcessingInstruction,
  XmlTypeCode::Comment, XmlTypeCode::Text, XmlTypeCode::AnyAtomicType, XmlTypeCode::UntypedAtomic,
  XmlTypeCode::String, XmlTypeCode::Boolean, XmlTypeCode::Decimal, XmlTypeCode::Float,
  XmlTypeCode::Double, XmlTypeCode::Duration, XmlTypeCode::DateTime, XmlTypeCode::Time,
  XmlTypeCode::Date, XmlTypeCode::GYearMonth, XmlTypeCode::GYear, XmlTypeCode::GMonthDay,
  XmlTypeCode::GDay, XmlTypeCode::GMonth, XmlTypeCode::HexBinary, XmlTypeCode::Base64Binary,
  XmlTypeCode::AnyUri, XmlTypeCode::QName, XmlTypeCode::Notation, XmlTypeCode::NormalizedString,
  XmlTypeCode::Token, XmlTypeCode::Language, XmlTypeCode::NmToken, XmlTypeCode::Name,
  XmlTypeCode::NCName, XmlTypeCode::Id, XmlTypeCode::Idref, XmlTypeCode::Entity,
  XmlTypeCode::Integer, XmlTypeCode::NonPositiveInteger, XmlTypeCode::NegativeInteger, XmlTypeCode::Long,
  XmlTypeCode::Int, XmlTypeCode::Short, XmlTypeCode::Byte, XmlTypeCode::NonNegativeInteger,
  XmlTypeCode::UnsignedLong, XmlTypeCode::UnsignedInt, XmlTypeCode::UnsignedShort, XmlTypeCode::UnsignedByte,
  XmlTypeCode::PositiveInteger, XmlTypeCode::YearMonthDuration, XmlTypeCode::DayTimeDuration
}
 

Functions

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

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.

◆ XmlTypeCode

Enumerator
None 
Item 
Node 
Document 
Element 
Attribute 
Namespace 
ProcessingInstruction 
Comment 
Text 
AnyAtomicType 
UntypedAtomic 
String 
Boolean 
Decimal 
Float 
Double 
Duration 
DateTime 
Time 
Date 
GYearMonth 
GYear 
GMonthDay 
GDay 
GMonth 
HexBinary 
Base64Binary 
AnyUri 
QName 
Notation 
NormalizedString 
Token 
Language 
NmToken 
Name 
NCName 
Id 
Idref 
Entity 
Integer 
NonPositiveInteger 
NegativeInteger 
Long 
Int 
Short 
Byte 
NonNegativeInteger 
UnsignedLong 
UnsignedInt 
UnsignedShort 
UnsignedByte 
PositiveInteger 
YearMonthDuration 
DayTimeDuration 

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.