xmlunit-core : Org.XmlUnit.Validation Namespace

ValidationProblem Class

A validation "problem" which may be an error or a warning.

Syntax

public class ValidationProblem

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.241

Members

See Also: Inherited members from object.

Public Constructors

Creates an instance of ValidationProblem.

Public Fields

const
UNKNOWN int (-1). Used as line or column number if the the real value is unknown

Public Properties

[read-only]
Column int . The column where the problem occured or UNKNOWN.
[read-only]
Line int . The line where the problem occured or UNKNOWN.
[read-only]
Message string . The problem's message.
[read-only]
Type System.Xml.Schema.XmlSeverityType . Whether this is an error or a warning.

Public Methods

override
ToString () : string
Documentation for this section has not yet been entered.

Extension Methods

static
Singleton<T> (this T) : IEnumerable<T>
An enumerable containing a single element.

Member Details

ValidationProblem Constructor

Creates an instance of ValidationProblem.

Syntax

public ValidationProblem (string message, int line, int column, System.Xml.Schema.XmlSeverityType type)

Parameters

message
the problem's message
line
line the problem was detected in
column
column the problem was detected at
type
the type of problem

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.241

Column Property

The column where the problem occured or UNKNOWN.

Syntax

public int Column { get; }

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.241

Line Property

The line where the problem occured or UNKNOWN.

Syntax

public int Line { get; }

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.241

Message Property

The problem's message.

Syntax

public string Message { get; }

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.241

ToString Method

Documentation for this section has not yet been entered.

Syntax

public override string ToString ()

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.241

Type Property

Whether this is an error or a warning.

Syntax

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.241

UNKNOWN Field

Used as line or column number if the the real value is unknown

Value: -1

Syntax

public const int UNKNOWN

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.241