code: private static DocumentBuilderFactory constructDocumentBuilderFactory() {
  
          DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
  
          documentBuilderFactory.setValidating(true);
          documentBuilderFactory.setNamespaceAware(true);
  
          try {
              documentBuilderFactory.setAttribute("http://apache.org/xml/features/validation/schema", true);
          } catch (IllegalArgumentException e) {
              // Ignore
          }
          documentBuilderFactory.setAttribute("http://java.sun.com/xml/jaxp/properties/schemaLanguage",
                  "http://www.w3.org/2001/XMLSchema");
          documentBuilderFactory.setAttribute("http://java.sun.com/xml/jaxp/properties/schemaSource",
                  "classpath:/jadira-bindings.xsd");
          return documentBuilderFactory;
      }
docs: Helper used to construct a {@link DocumentBuilderFactory} with schema validation configured
  @return {@link DocumentBuilderFactory}