code: protected void checkJAXPVersion(Hashtable h)
    {
  
      if (null == h)
        h = new Hashtable();
  
      final Class noArgs[] = new Class[0];
      Class clazz = null;
  
      try
      {
        final String JAXP1_CLASS = "javax.xml.parsers.DocumentBuilder";
        final String JAXP11_METHOD = "getDOMImplementation";
  
        clazz = ObjectFactory.findProviderClass(
          JAXP1_CLASS, ObjectFactory.findClassLoader(), true);
  
        Method method = clazz.getMethod(JAXP11_METHOD, noArgs);
  
        // If we succeeded, we at least have JAXP 1.1 available
        h.put(VERSION + "JAXP", "1.1 or higher");
      }
      catch (Exception e)
      {
        if (null != clazz)
        {
  
          // We must have found the class itself, just not the 
          //  method, so we (probably) have JAXP 1.0.1
          h.put(ERROR + VERSION + "JAXP", "1.0.1");
          h.put(ERROR, ERROR_FOUND);
        }
        else
        {
          // We couldn't even find the class, and don't have 
          //  any JAXP support at all, or only have the 
          //  transform half of it
          h.put(ERROR + VERSION + "JAXP", CLASS_NOTPRESENT);
          h.put(ERROR, ERROR_FOUND);
        }
      }
    }
docs: Report version information about JAXP interfaces.
  
  Currently distinguishes between JAXP 1.0.1 and JAXP 1.1,
  and not found; only tests the interfaces, and does not
  check for reference implementation versions.
  
  @param h Hashtable to put information in