code: private void onStartElement(QName name, XMLAttributes atts) {
      if (detecting) {
        detecting = false;
        loadDefaults();
      }
      if (defaults != null) {
        checkAndAddDefaults(name, atts);
      }
    }
docs: On start element
  
  @param name The element name
  @param atts The attributes