--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/gen/config/NGCCRuntime.java 2015-10-16 12:59:02.000000000 +0200 +++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/gen/config/NGCCRuntime.java 2015-10-16 12:59:02.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -50,6 +50,7 @@ *
  • manage mapping between namespace URIs and prefixes. * *
  • TODO: provide support for interleaving. + * *

    * Auto-generated, do not edit. *

    @@ -70,7 +71,7 @@ * or the reset method is called. You can't replace the root * handler while parsing is in progress. *

    - * Usually a generated class that corresponds to the <start> + * Usually a generated class that corresponds to the {@code } * pattern will be used as the root handler, but any NGCCHandler * can be a root handler. * @@ -165,28 +166,28 @@ * Whitespace handling is a tricky business. Consider the following * schema fragment: * - *

    {@code
    +     * 
          * <element name="foo">
          *   <choice>
          *     <element name="bar"><empty/></element>
          *     <text/>
          *   </choice>
          * </element>
    -     * }</pre>
    +     * 
          *
          * Assume we hit the following instance:
    -     * 
    {@code
    +     * 
          * <foo> <bar/></foo>
    -     * }</pre>
    +     * 
          *
          * 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:
    -     * 
    {@code
    +     * 
          * <foo/>
    -     * }</pre>
    +     * 
          *
          * This time, we need to treat this empty string as a text, for
          * otherwise we won't be able to accept this instance.
    @@ -483,16 +484,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 {@code namespaces.size()}.
    +     * this value can be different from namespaces.size().
          * 

    * For example, consider the following schema: - *

    {@code
    +     * 
    
          *  <oneOrMore>
          *   <element name="foo"><empty/></element>
          *  </oneOrMore>
          *  code fragment X
          *  <element name="bob"/>
    -     * }</pre>
    +     * 
    * 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".