neilg       2002/10/17 07:35:15

  Modified:    java/src/org/apache/html/dom HTMLDocumentImpl.java
  Log:
  fix for bug 13717
  
  Revision  Changes    Path
  1.13      +3 -3      xml-xerces/java/src/org/apache/html/dom/HTMLDocumentImpl.java
  
  Index: HTMLDocumentImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/html/dom/HTMLDocumentImpl.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- HTMLDocumentImpl.java     10 Sep 2002 14:04:52 -0000      1.12
  +++ HTMLDocumentImpl.java     17 Oct 2002 14:35:14 -0000      1.13
  @@ -777,8 +777,8 @@
       private static void populateElementType( String tagName, String className )
       {
           try {
  -            _elementTypesHTML.put( tagName, ObjectFactory.newInstance( 
"org.apache.html.dom." + className, 
  -                    ObjectFactory.findClassLoader(), true) );
  +            _elementTypesHTML.put( tagName, 
  +                    
ObjectFactory.findClassLoader().loadClass("org.apache.html.dom." + className) );
           } catch ( Exception except ) {
               new RuntimeException( "HTM019 OpenXML Error: Could not find or execute 
class " + className + " implementing HTML element " + tagName
                                     + "\n" + className + "\t" + tagName);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to