XML Compare .NET API Documentation - DEPRECATED
Assembly: DeltaXML.CoreS9Api (in DeltaXML.CoreS9Api.dll) Version: 10.4.0.1000 (10.4.0.1000)
whether the two input streams are equal after they have been processed with the input filters
Compares two XML Streams and returns whether they are equal.
Namespace: DeltaXML.CoreS9ApiAssembly: DeltaXML.CoreS9Api (in DeltaXML.CoreS9Api.dll) Version: 10.4.0.1000 (10.4.0.1000)
Syntax
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: Booleanwhether the two input streams are equal after they have been processed with the input filters
Exceptions
Exception | Condition |
---|---|
com.deltaxml.cores9api ComparisonException | Thrown if there is a problem during the comparison stage of the pipeline |
com.deltaxml.cores9api FilterProcessingException | Thrown if there was a problem running any of the filters |
com.deltaxml.cores9api PipelineLoadingException | Thrown if the inputs cannot be loaded or parsed |
com.deltaxml.cores9api PipelineSerializationException | Thrown if the input cannot be saved or serialized to the result location |
com.deltaxml.cores9api LicenseException | Thrown if there is a licensing issue that prevents operation |
com.deltaxml.core PipelinedComparatorError | Thrown if a comparator execution thread is interrupted by another thread |
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