--- old/src/java.base/share/classes/jdk/internal/util/xml/impl/Parser.java 2015-05-18 17:53:11.012753433 +0400
+++ new/src/java.base/share/classes/jdk/internal/util/xml/impl/Parser.java 2015-05-18 17:53:10.864753433 +0400
@@ -1841,10 +1841,12 @@
/**
* Reads an attribute value.
*
- * The grammar which this method can read is:
- * eqstr := S "=" qstr
- * qstr := S ("'" string "'") |
- * ('"' string '"')
This method resolves entities
+ * The grammar which this method can read is:
+ *
{@code + * eqstr := S "=" qstr + * qstr := S ("'" string "'") | ('"' string '"') + * }+ * This method resolves entities * inside a string unless the parser parses DTD. * * @param flag The '=' character forces the method to accept the '=' @@ -2633,7 +2635,7 @@ * Reports characters and empties the parser's buffer. This method is called * only if parser is going to return control to the main loop. This means * that this method may use parser buffer to report white space without - * copeing characters to temporary buffer. + * copying characters to temporary buffer. */ protected abstract void bflash() throws Exception; @@ -2642,7 +2644,7 @@ * Reports white space characters and empties the parser's buffer. This * method is called only if parser is going to return control to the main * loop. This means that this method may use parser buffer to report white - * space without copeing characters to temporary buffer. + * space without copying characters to temporary buffer. */ protected abstract void bflash_ws() throws Exception; @@ -3290,16 +3292,20 @@ } /** - * Maps a character to it's type. + * Maps a character to its type. * - * Possible character type values are: