validator: use url for undefined-references
Instead of url + path. The was leading to a schema-already-loaded-bug before
This commit is contained in:
parent
781fd1cebb
commit
881be19ca7
@ -116,7 +116,7 @@ public:
|
|||||||
// of the same document, which has not been found
|
// of the same document, which has not been found
|
||||||
throw std::invalid_argument("sub-schema " + r.pointer().to_string() +
|
throw std::invalid_argument("sub-schema " + r.pointer().to_string() +
|
||||||
" in schema " + id.to_string() + " not found");
|
" in schema " + id.to_string() + " not found");
|
||||||
undefined_refs.insert(r);
|
undefined_refs.insert(r.url());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user