--- old/src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/impl/parser/state/NGCCRuntime.java 2015-10-21 14:11:52.000000000 +0200 +++ new/src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/impl/parser/state/NGCCRuntime.java 2015-10-21 14:11:52.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2012, 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,7 +50,11 @@ *
  • manage mapping between namespace URIs and prefixes. * *
  • TODO: provide support for interleaving. + * * + *

    + * Auto-generated, do not edit. + *

    * @version $Id: NGCCRuntime.java,v 1.15 2002/09/29 02:55:48 okajima Exp $ * @author Kohsuke Kawaguchi (kk@kohsuke.org) */ @@ -68,7 +72,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. * @@ -178,8 +182,8 @@ * } * * 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>.) + * end up treating this space as the match to {@code } and won't + * be able to process {@code }.) * * Now assume the following instance: *

    {@code
    @@ -194,7 +198,7 @@
          * easy solution is to use the type of next event. If a text is
          * followed by a start tag, it follows from the constraint on
          * RELAX NG that that text must be either whitespaces or a match
    -     * to <text/>.
    +     * to {@code }.
          *
          * 

    * On the contrary, if a text is followed by a end tag, then it @@ -209,9 +213,9 @@ *

    * TODO: according to the constraint of RELAX NG, if characters * follow an end tag, then they must be either whitespaces or - * must match to <text/>. + * must match to {@code }. * - * @param possiblyWhitespace + * @param ignorable * True if the buffered character can be ignorabale. False if * it needs to be consumed. */ @@ -240,7 +244,7 @@ redirectionDepth++; } else { processPendingText(true); - // System.out.println("startElement:"+localname+"->"+_attrStack.size()); + // System.out.println("startElement:"+localname+"->"+_attrStack.size()); currentHandler.enterElement(uri, localname, qname, atts); } } @@ -261,7 +265,7 @@ * consumes the enterElement event. */ public void onEnterElementConsumed( - String uri, String localName, String qname,Attributes atts) throws SAXException { + String uri, String localName, String qname,Attributes atts) throws SAXException { attStack.push(currentAtts=new AttributesImpl(atts)); nsEffectiveStack.push( new Integer(nsEffectivePtr) ); nsEffectivePtr = namespaces.size(); @@ -392,25 +396,25 @@ // public void sendEnterAttribute( int threadId, - String uri, String local, String qname) throws SAXException { + String uri, String local, String qname) throws SAXException { currentHandler.enterAttribute(uri,local,qname); } public void sendEnterElement( int threadId, - String uri, String local, String qname, Attributes atts) throws SAXException { + String uri, String local, String qname, Attributes atts) throws SAXException { currentHandler.enterElement(uri,local,qname,atts); } public void sendLeaveAttribute( int threadId, - String uri, String local, String qname) throws SAXException { + String uri, String local, String qname) throws SAXException { currentHandler.leaveAttribute(uri,local,qname); } public void sendLeaveElement( int threadId, - String uri, String local, String qname) throws SAXException { + String uri, String local, String qname) throws SAXException { currentHandler.leaveElement(uri,local,qname); } @@ -448,7 +452,7 @@ * simulate the startElement event for the new ContentHandler. */ public void redirectSubtree( ContentHandler child, - String uri, String local, String qname ) throws SAXException { + String uri, String local, String qname ) throws SAXException { redirect = child; redirect.setDocumentLocator(locator); @@ -459,8 +463,8 @@ // modified to report active bindings only. for( int i=0; i