System::Xml::Schema::XmlSchema::Compile method

XmlSchema::Compile(ValidationEventHandler) method

Compiles the XML SchemaObject Model (SOM) into schema information for validation. Used to check the syntactic and semantic structure of the programmatically built SOM. Semantic validation checking is performed during compilation.

void System::Xml::Schema::XmlSchema::Compile(ValidationEventHandler validationEventHandler)
ParameterTypeDescription
validationEventHandlerValidationEventHandlerThe validation event handler that receives information about XML Schema validation errors.

See Also

XmlSchema::Compile(ValidationEventHandler, const SharedPtr<XmlResolver>&) method

Compiles the XML SchemaObject Model (SOM) into schema information for validation. Used to check the syntactic and semantic structure of the programmatically built SOM. Semantic validation checking is performed during compilation.

void System::Xml::Schema::XmlSchema::Compile(ValidationEventHandler validationEventHandler, const SharedPtr<XmlResolver> &resolver)
ParameterTypeDescription
validationEventHandlerValidationEventHandlerThe validation event handler that receives information about the XML Schema validation errors.
resolverconst SharedPtr<XmlResolver>&The XmlResolver used to resolve namespaces referenced in include and import elements.

See Also