Fixed the name of the IMPLIED HTML.Tag and added the AdditionalComments
field to HTMLDocument.

2005-09-21  Anthony Balkissoon  <[EMAIL PROTECTED]>

        * javax/swing/text/html/HTML.java:
        (Tag): Changed name of IMPLIED Tag from "implied" to "p-implied" to 
        match the JDK.
        * javax/swing/text/html/HTMLDocument.java:
        (AdditionalComments): New field.

--Tony
Index: javax/swing/text/html/HTML.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/html/HTML.java,v
retrieving revision 1.5
diff -u -r1.5 HTML.java
--- javax/swing/text/html/HTML.java     2 Jul 2005 20:32:51 -0000       1.5
+++ javax/swing/text/html/HTML.java     21 Sep 2005 20:27:29 -0000
@@ -960,6 +960,6 @@
      * a paragraph is manufactured.
      * toString() returns 'implied'. HTML reader synthesizes this tag.
      */
-    public static final Tag IMPLIED = new Tag("implied", SYNTETIC);
+    public static final Tag IMPLIED = new Tag("p-implied", SYNTETIC);
     final String name;
     final int flags;

Index: javax/swing/text/html/HTMLDocument.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/html/HTMLDocument.java,v
retrieving revision 1.4
diff -u -r1.4 HTMLDocument.java
--- javax/swing/text/html/HTMLDocument.java     21 Sep 2005 19:27:28 -0000      1.4
+++ javax/swing/text/html/HTMLDocument.java     21 Sep 2005 20:27:29 -0000
@@ -55,5 +55,9 @@
  */
 public class HTMLDocument extends DefaultStyledDocument
 {
+  /** A key for document properies.  The value for the key is
+   * a Vector of Strings of comments not found in the body.
+   */
+  public static final String AdditionalComments = "AdditionalComments";
   URL baseURL = null;
   boolean preservesUnknownTags = true;

_______________________________________________
Classpath-patches mailing list
Classpath-patches@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to