People seem to have bumped into "no DTD found" often, see for example xmllint validation error "no DTD found" while using XSD
The answer is simple: --valid
is only for DTDs. XSDs need to be passed explicitly with --schema
.
That is clear. My question is, why is it like that? Is it just not implemented, or is there a technical reason for this?
I have not managed to find an answer to this question, but mind you I am very unfamiliar with XML...