重複の可能性:
XSD に対する XML の検証
このコードを使用して、XML を XSD で検証しています
DocumentBuilder parser = factory.newDocumentBuilder();
// Parse the file. If errors found, they will be printed.
parser.parse(args[1]);
しかし、どのように機能するのか知りたいのですが、タグまたはすべてのデータをチェックしますか? 信頼性は?