When schema is validated it is important to check that refs are actually resolvable (and that resolved schemas are also valid in case they are loaded from external sources like http). Other schema validation solutions (Javascript AVJ validator or Nokogiri XMLSchema validator) do that.