Permalink
Browse files

Fail on failed-assert or successful-report

  • Loading branch information...
ndw committed Aug 24, 2018
1 parent 2c8b867 commit 4571b972e24cbe26dadb7f3b685fc0c3e04c0d68
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/xmlcalabash/library/ValidateWithSCH.java
@@ -181,7 +181,7 @@ public void run() throws SaxonApiException {
private boolean checkFailedAssert(XdmNode doc) {
Hashtable<String,String> nsBindings = new Hashtable<String,String> ();
nsBindings.put("svrl", "http://purl.oclc.org/dsdl/svrl");
String xpath = "//svrl:failed-assert";
String xpath = "//svrl:failed-assert|//svrl:successful-report";
Vector<XdmItem> results = new Vector<XdmItem> ();
Configuration config = runtime.getProcessor().getUnderlyingConfiguration();

0 comments on commit 4571b97

Please sign in to comment.