Answer:
Generally, Virgo and Capricorn are both earth signs so they relate well to each other. On a physical level there are other factors to consider, such as the venus and mars signs of both people involved, and on a deeper level, the eros and psyche signs of both individuals involved. Cafe astrology.com is an excellent site for compatibilty relationships of all types.
(Another answer) One thing is completely unrelated with another. By looking at ancient superstitions, you waste time, which you could be spending on analyzing the real compatibility issues.