dgm9704 / Xoxo

read, write, compare, convert XBRL reports
GNU Lesser General Public License v3.0
27 stars 9 forks source link

InstanceComparer compares taxonomyversions even when one instance doesn't have one #45

Closed dgm9704 closed 7 years ago

dgm9704 commented 8 years ago

... this results in difference being reported when functionally same instance. The comparison should be skipped when other instance (or both) doesn't have taxonomyversion, since it isn't mandatory.

dgm9704 commented 7 years ago

TaxonomyVersion is included in both "BasicComparisons" and "ComparisonTypes" so it's compared no matter what :( Will remove from BasicComparison so it can be bypassed if needed, but the actual comparison stays the same.