--- old/src/java.base/share/classes/jdk/internal/util/xml/impl/Parser.java 2015-05-15 20:25:02.646444044 +0400 +++ new/src/java.base/share/classes/jdk/internal/util/xml/impl/Parser.java 2015-05-15 20:25:02.498444044 +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 '=' @@ -3290,16 +3292,20 @@ } /** - * Maps a character to it's type. + * Maps a character to its type. * - * Possible character type values are:
- ' ' for any kind of white - * space character;
- 'a' for any lower case alphabetical character - * value;
- 'A' for any upper case alphabetical character value;
- * - 'd' for any decimal digit character value;
- 'z' for any - * character less then ' ' except '\t', '\n', '\r';
- 'X' for any not - * ASCII character;
- 'Z' for EOS character.
An ASCII (7 bit) - * character which does not fall in any category listed above is mapped to - * it self. + * Possible character type values are: + * + * An ASCII (7 bit) character which does not fall in any category + * listed above is mapped to itself. * * @param ch The character to map. * @return The type of character.