--- old/src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/impl/parser/state/NGCCRuntime.java 2015-09-19 13:16:40.581117292 +0300 +++ new/src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/impl/parser/state/NGCCRuntime.java 2015-09-19 13:16:40.441116597 +0300 @@ -163,28 +163,28 @@ * Whitespace handling is a tricky business. Consider the following * schema fragment: * - * + * <pre>{@code * <element name="foo"> * <choice> * <element name="bar"><empty/></element> * <text/> * </choice> * </element> - * + * } * * Assume we hit the following instance: - * + * <pre>{@code * <foo> <bar/></foo> - * + * } * * Then this first space needs to be ignored (for otherwise, we will * end up treating this space as the match to <text/> and won't * be able to process <bar>.) * * Now assume the following instance: - * + * <pre>{@code * <foo/> - * + * } * * This time, we need to treat this empty string as a text, for * otherwise we won't be able to accept this instance. @@ -481,16 +481,16 @@ * the top of the effective bindings. Because of the * timing difference between the startPrefixMapping method * and the execution of the corresponding actions, - * this value can be different from namespaces.size(). + * this value can be different from {@code namespaces.size()}. *

* For example, consider the following schema: - *


+     * <pre>{@code
      *  <oneOrMore>
      *   <element name="foo"><empty/></element>
      *  </oneOrMore>
      *  code fragment X
      *  <element name="bob"/>
-     * 
+ * } * Code fragment X is executed after we see a startElement event, * but at this time the namespaces variable already include new * namespace bindings declared on "bob".