- assigned_to: eyth --> parthee
When running srgmerge I found an instance where the
error reporting could be improved. I have created a
input file that points to a surrogate name that does
not exist within the xref file. After running, srgmerge
gives an error that is partly correct. It notes that
the surrogate file does not have the surrogate id for
the specified surrogate name. While this is true, the
real problem is that the surrogate name does not exist
within the xref file, thus it cannot be found in the
surrogate file.
If I run this for a similar case -- the surrogate is in
the xref file but not in the surrogate file, the same
error is returned. In that case, it is the appropriate
error message as the surrogate really does not exist
within the surrogate file.
In the first case it is difficult to know whether the
problem is with the surrogate file or the xref file
(the true cause of the problem).