code: private void parseNesting(Configuration configuration, Document dc) {
          NodeList list = dc.getElementsByTagNameNS(SCHEMA_LOCATION, TAG_NESTING);
          if (list.getLength() > 0) {
              Node el = list.item(0);
              configuration.setNestingLimit(nodeAttribute(el, TAG_NESTING_ATTR_LIMIT, Configuration.DEFAULT_NESTING_LIMIT));
              configuration.setPropagateNestingException(
                      nodeAttribute(el, TAG_NESTING_ATTR_EXCEPTION, Configuration.DEFAULT_PROPAGATE_NESTING_EXCEPTION)
              );
          }
      }
docs: Parse nesting element, which describes nesting behavior.
  
  @param configuration parser configuration
  @param dc            DOM-document