You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2010/11/14 19:41:49 UTC

svn commit: r1035042 - /xerces/java/trunk/src/org/apache/html/dom/HTMLCollectionImpl.java

Author: mrglavas
Date: Sun Nov 14 18:41:49 2010
New Revision: 1035042

URL: http://svn.apache.org/viewvc?rev=1035042&view=rev
Log:
Fixing JIRA Issue #1411: http://issues.apache.org/jira/browse/XERCESJ-1411. Some minor Javadoc typos have been corrected. Patch thanks to Johannes Koch.

Modified:
    xerces/java/trunk/src/org/apache/html/dom/HTMLCollectionImpl.java

Modified: xerces/java/trunk/src/org/apache/html/dom/HTMLCollectionImpl.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/html/dom/HTMLCollectionImpl.java?rev=1035042&r1=1035041&r2=1035042&view=diff
==============================================================================
--- xerces/java/trunk/src/org/apache/html/dom/HTMLCollectionImpl.java (original)
+++ xerces/java/trunk/src/org/apache/html/dom/HTMLCollectionImpl.java Sun Nov 14 18:41:49 2010
@@ -80,7 +80,7 @@ class HTMLCollectionImpl
     
     
     /**
-     * Request collection of all images in document: <IMAGE> elements.
+     * Request collection of all images in document: <IMG> elements.
      */
     static final short        IMAGE = 3;
     
@@ -100,7 +100,7 @@ class HTMLCollectionImpl
     
     
     /**
-     * Request collection of all options in selection: <OPTION> elments in
+     * Request collection of all options in selection: <OPTION> elements in
      * <SELECT> or <OPTGROUP>.
      */
     static final short        OPTION = 6;
@@ -115,8 +115,7 @@ class HTMLCollectionImpl
     
     /**
      * Request collection of all form elements: <INPUT>, <BUTTON>,
-     * <SELECT>, <TEXT> and <TEXTAREA> elements inside form
-     * <FORM>.
+     * <SELECT>, and <TEXTAREA> elements inside form <FORM>.
      */
     static final short        ELEMENT = 8;
     
@@ -136,8 +135,8 @@ class HTMLCollectionImpl
 
     
     /**
-     * Request collection of all cells in row: <TD> elements in <TR>
-     * (non recursive).
+     * Request collection of all cells in row: <TD> and <TH>
+     * elements in <TR> (non recursive).
      */
     static final short        CELL = -3;
 
@@ -445,7 +444,7 @@ class HTMLCollectionImpl
                           elem.getTagName().equals( "TBODY" ) );
                 break;
             case CELL:
-                // Any <TD> element.
+                // Any <TD> or <TH> element.
                 match = ( elem instanceof HTMLTableCellElement );
                 break;
             }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org