You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ne...@apache.org on 2002/10/17 16:35:15 UTC

cvs commit: xml-xerces/java/src/org/apache/html/dom HTMLDocumentImpl.java

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: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org