Validates a piece of XML against a schema given in a supported language or the definition of such a schema itself.
See Also: Inherited members from object.
|
Schema | System.Xml.Schema.XmlSchema . Sets the schema to use in instance validation directly rather than via SchemaSources. |
[write-only] | SchemaSource | Org.XmlUnit.ISource . Where to find the schema. |
|
SchemaSources | Org.XmlUnit.ISource[]. Where to find the schema. |
static
|
ForLanguage
(string)Factory that obtains a Validator instance based on the schema language. |
|
|
ValidateInstance
(Org.XmlUnit.ISource)Validates an instance against the schema. |
|
|
ValidateSchema
()Validates a schema. |
static
|
Singleton<T>
(this T)An enumerable containing a single element. |
Factory that obtains a Validator instance based on the schema language.Syntax
Parameters
- language
- Documentation for this section has not yet been entered.
Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Org.XmlUnit.Validation
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.10.0.256
Sets the schema to use in instance validation directly rather than via SchemaSources.Syntax
public virtual System.Xml.Schema.XmlSchema Schema { get; set; }Value
Documentation for this section has not yet been entered.Remarks
since XMLUnit 2.3.0Requirements
Namespace: Org.XmlUnit.Validation
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.10.0.256
Where to find the schema.Syntax
public Org.XmlUnit.ISource SchemaSource { set; }Value
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Org.XmlUnit.Validation
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.10.0.256
Where to find the schema.Syntax
public virtual Org.XmlUnit.ISource[] SchemaSources { get; set; }Value
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Org.XmlUnit.Validation
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.10.0.256
Validates an instance against the schema.Syntax
public virtual ValidationResult ValidateInstance (Org.XmlUnit.ISource instance)Parameters
- instance
- Documentation for this section has not yet been entered.
Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Org.XmlUnit.Validation
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.10.0.256
Validates a schema.Syntax
public virtual ValidationResult ValidateSchema ()Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Org.XmlUnit.Validation
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.10.0.256