PipelinedComparatorS9 isEqual Method (Stream, Uri, Stream, Uri)XML Compare .NET API Documentation
XML Compare .NET API Documentation - DEPRECATED
Compares two XML Streams and returns whether they are equal.

Namespace: DeltaXML.CoreS9Api
Assembly: DeltaXML.CoreS9Api (in DeltaXML.CoreS9Api.dll) Version: 10.4.0.1000 (10.4.0.1000)
Syntax

public bool isEqual(
	Stream a,
	Uri systemIdA,
	Stream b,
	Uri systemIdB
)

Parameters

a
Type: System.IO Stream
The stream providing the first input
systemIdA
Type: System Uri
A systemId used to locate relative references in input a and for error reporting
b
Type: System.IO Stream
The stream for the second input
systemIdB
Type: System Uri
A systemId used to locate relative references in input b and for error reporting

Return Value

Type: Boolean
whether the two input streams are equal after they have been processed with the input filters
Exceptions

Remarks

systemId parameters are provided so that relative URIs can be resolved in the inputs, they are also useful when reporting errors as the systemId may be useful when locating the error position. Using identifiers such as "string1" or "database2" may be useful when the inputs do not contain URIs to resolve as they appear in error messages and can aid error diagnosis.

See Also