CommonComparator compare Method (FileInfo, FileInfo, FileInfo)XML Compare .NET API Documentation
XML Compare .NET API Documentation - DEPRECATED
Compares two File inputs to produce a File result.

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

public void compare(
	FileInfo input1,
	FileInfo input2,
	FileInfo result
)

Parameters

input1
Type: System.IO FileInfo
The first input file to compare
input2
Type: System.IO FileInfo
The second input file to compare
result
Type: System.IO FileInfo
The File in which to write the comparison result
Exceptions

ExceptionCondition
com.deltaxml.cores9api ComparisonExceptionThrown if their is a problem during the comparison stage of the pipeline
com.deltaxml.cores9api FilterProcessingExceptionThrown if there was a problem running any of the filters
System.IO FileNotFoundExceptionThrown if the input or output files cannot be found
System.IO IOExceptionThrown if there is a problem opening/closing streams associated with the File arguments
com.deltaxml.cores9api PipelineLoadingExceptionThrown if the inputs cannot be loaded or parsed
com.deltaxml.cores9api PipelineSerializationExceptionThrown if the input cannot be saved or serialized to the result location
com.deltaxml.cores9api LicenseExceptionThrown if there is a licensing issue that prevents operation
com.deltaxml.core PipelinedComparatorErrorThrown if a comparator execution thread is interrupted by another thread
See Also