Compile()

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)

Arguments

ParameterTypeDescription
validationEventHandlerValidationEventHandlerThe validation event handler that receives information about XML Schema validation errors.

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)

Arguments

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