--- old/src/java.xml/share/classes/org/xml/sax/AttributeList.java 2019-09-20 04:54:35.540567375 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/AttributeList.java 2019-09-20 04:54:35.112556879 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,23 +23,11 @@ * questions. */ -// SAX Attribute List Interface. -// http://www.saxproject.org -// No warranty; no copyright -- use this as you will. -// $Id: AttributeList.java,v 1.3 2004/11/03 22:44:51 jsuttor Exp $ - package org.xml.sax; /** * Interface for an element's attribute specifications. * - *
- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

This is the original SAX1 interface for reporting an element's * attributes. Unlike the new {@link org.xml.sax.Attributes Attributes} * interface, it does not support Namespace-related information. --- old/src/java.xml/share/classes/org/xml/sax/Attributes.java 2019-09-20 04:54:36.390588218 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/Attributes.java 2019-09-20 04:54:35.963577747 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,25 +23,12 @@ * questions. */ -// Attributes.java - attribute list with Namespace support -// http://www.saxproject.org -// Written by David Megginson -// NO WARRANTY! This class is in the public domain. -// $Id: Attributes.java,v 1.2 2004/11/03 22:44:51 jsuttor Exp $ - package org.xml.sax; /** * Interface for a list of XML attributes. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

This interface allows access to a list of attributes in * three different ways:

* --- old/src/java.xml/share/classes/org/xml/sax/ContentHandler.java 2019-09-20 04:54:37.242609111 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/ContentHandler.java 2019-09-20 04:54:36.817598689 +0000 @@ -23,25 +23,12 @@ * questions. */ -// ContentHandler.java - handle main document content. -// http://www.saxproject.org -// Written by David Megginson -// NO WARRANTY! This class is in the public domain. -// $Id: ContentHandler.java,v 1.2 2004/11/03 22:44:51 jsuttor Exp $ - package org.xml.sax; /** * Receive notification of the logical content of a document. * - *
- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

This is the main interface that most SAX applications * implement: if the application needs to be informed of basic parsing * events, it implements this interface and registers an instance with @@ -128,20 +115,20 @@ /** * Receives notification of the XML declaration. - * + * * @implSpec * The default implementation in the SAX API is to do nothing. - * + * * @param version the version string as in the input document, null if not * specified * @param encoding the encoding string as in the input document, null if not * specified - * @param standalone the standalone string as in the input document, null if + * @param standalone the standalone string as in the input document, null if * not specified - * + * * @throws SAXException if the application wants to report an error or * interrupt the parsing process - * + * * @since 14 */ default void declaration(String version, String encoding, String standalone) @@ -149,18 +136,18 @@ { //no op } - + /** * Receive notification of the end of a document. * *

* This method is invoked by the parser to signal it has reached the end of - * the document after successfully completing the parsing process. + * the document after successfully completing the parsing process. * After the event, the parser will return the control to the application. - * - * @apiNote In case of a fatal error, the parser may choose to stop the + * + * @apiNote In case of a fatal error, the parser may choose to stop the * parsing process with a {@link SAXException}, in which case, this method - * will never be called. Refer to + * will never be called. Refer to * {@link ErrorHandler#fatalError(org.xml.sax.SAXParseException)}. * * @throws org.xml.sax.SAXException any SAX exception, possibly --- old/src/java.xml/share/classes/org/xml/sax/DTDHandler.java 2019-09-20 04:54:38.098630101 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/DTDHandler.java 2019-09-20 04:54:37.670619606 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,23 +23,11 @@ * questions. */ -// SAX DTD handler. -// http://www.saxproject.org -// No warranty; no copyright -- use this as you will. -// $Id: DTDHandler.java,v 1.2 2004/11/03 22:44:51 jsuttor Exp $ - package org.xml.sax; /** * Receive notification of basic DTD-related events. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

If a SAX application needs information about notations and * unparsed entities, then the application implements this * interface and registers an instance with the SAX parser using --- old/src/java.xml/share/classes/org/xml/sax/DocumentHandler.java 2019-09-20 04:54:38.956651141 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/DocumentHandler.java 2019-09-20 04:54:38.528640646 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,23 +23,11 @@ * questions. */ -// SAX document handler. -// http://www.saxproject.org -// No warranty; no copyright -- use this as you will. -// $Id: DocumentHandler.java,v 1.2 2004/11/03 22:44:51 jsuttor Exp $ - package org.xml.sax; /** * Receive notification of general document events. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

This was the main event-handling interface for SAX1; in * SAX2, it has been replaced by {@link org.xml.sax.ContentHandler * ContentHandler}, which provides Namespace support and reporting --- old/src/java.xml/share/classes/org/xml/sax/EntityResolver.java 2019-09-20 04:54:39.813672157 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/EntityResolver.java 2019-09-20 04:54:39.385661661 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,11 +23,6 @@ * questions. */ -// SAX entity resolver. -// http://www.saxproject.org -// No warranty; no copyright -- use this as you will. -// $Id: EntityResolver.java,v 1.2 2004/11/03 22:44:52 jsuttor Exp $ - package org.xml.sax; import java.io.IOException; @@ -36,13 +31,6 @@ /** * Basic interface for resolving entities. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

If a SAX application needs to implement customized handling * for external entities, it must implement this interface and * register an instance with the SAX driver using the --- old/src/java.xml/share/classes/org/xml/sax/ErrorHandler.java 2019-09-20 04:54:40.666693074 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/ErrorHandler.java 2019-09-20 04:54:40.237682554 +0000 @@ -23,24 +23,12 @@ * questions. */ -// SAX error handler. -// http://www.saxproject.org -// No warranty; no copyright -- use this as you will. -// $Id: ErrorHandler.java,v 1.2 2004/11/03 22:44:52 jsuttor Exp $ - package org.xml.sax; /** * Basic interface for SAX error handlers. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

If a SAX application needs to implement customized error * handling, it must implement this interface and then register an * instance with the XML reader using the @@ -129,23 +117,23 @@ /** * Receive notification of a non-recoverable, fatal error. - * + * *

* As defined in section 1.2 of the W3C XML 1.0 Recommendation, fatal errors * are those that would make it impossible for a parser to continue normal - * processing. These include violation of a well-formedness constraint, - * invalid encoding, and forbidden structural errors as described in the + * processing. These include violation of a well-formedness constraint, + * invalid encoding, and forbidden structural errors as described in the * W3C XML 1.0 Recommendation. - * + * * @apiNote An application must assume that the parser can no longer perform * normal processing after reporting a fatal error and may stop by throwing - * a {@link SAXException} without calling {@link ContentHandler#endDocument()}. - * In addition, the parser cannot be expected to be able to return accurate - * information about the logical structure on the rest of the document even + * a {@link SAXException} without calling {@link ContentHandler#endDocument()}. + * In addition, the parser cannot be expected to be able to return accurate + * information about the logical structure on the rest of the document even * if it may be able to resume parsing. - * + * * @implNote After invoking this method, the parser may stop processing by - * throwing a {@link SAXException}, or implement a feature that can direct + * throwing a {@link SAXException}, or implement a feature that can direct * it to continue after a fatal error. In the later case, it may report * events on the rest of the document without any guarantee of correctness. * --- old/src/java.xml/share/classes/org/xml/sax/HandlerBase.java 2019-09-20 04:54:41.518713966 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/HandlerBase.java 2019-09-20 04:54:41.090703471 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,24 +23,12 @@ * questions. */ -// SAX default handler base class. -// http://www.saxproject.org -// No warranty; no copyright -- use this as you will. -// $Id: HandlerBase.java,v 1.2 2005/06/10 03:50:47 jeffsuttor Exp $ - package org.xml.sax; /** * Default base class for handlers. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * - *

This class implements the default behaviour for four SAX1 + *

This class implements the default behavior for four SAX1 * interfaces: EntityResolver, DTDHandler, DocumentHandler, * and ErrorHandler. It is now obsolete, but is included in SAX2 to * support legacy SAX1 applications. SAX2 applications should use --- old/src/java.xml/share/classes/org/xml/sax/InputSource.java 2019-09-20 04:54:42.375734981 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/InputSource.java 2019-09-20 04:54:41.949724535 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,11 +23,6 @@ * questions. */ -// SAX input source. -// http://www.saxproject.org -// No warranty; no copyright -- use this as you will. -// $Id: InputSource.java,v 1.2 2004/11/03 22:55:32 jsuttor Exp $ - package org.xml.sax; import java.io.IOException; @@ -37,13 +32,6 @@ /** * A single input source for an XML entity. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

This class allows a SAX application to encapsulate information * about an input source in a single object, which may include * a public identifier, a system identifier, a byte stream (possibly --- old/src/java.xml/share/classes/org/xml/sax/Locator.java 2019-09-20 04:54:43.225755825 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/Locator.java 2019-09-20 04:54:42.799745379 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,24 +23,12 @@ * questions. */ -// SAX locator interface for document events. -// http://www.saxproject.org -// No warranty; no copyright -- use this as you will. -// $Id: Locator.java,v 1.2 2004/11/03 22:55:32 jsuttor Exp $ - package org.xml.sax; /** * Interface for associating a SAX event with a document location. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

If a SAX parser provides location information to the SAX * application, it does so by implementing this interface and then * passing an instance to the application using the content --- old/src/java.xml/share/classes/org/xml/sax/Parser.java 2019-09-20 04:54:44.078776742 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/Parser.java 2019-09-20 04:54:43.651766271 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,11 +23,6 @@ * questions. */ -// SAX parser interface. -// http://www.saxproject.org -// No warranty; no copyright -- use this as you will. -// $Id: Parser.java,v 1.2 2004/11/03 22:55:32 jsuttor Exp $ - package org.xml.sax; import java.io.IOException; @@ -37,13 +32,6 @@ /** * Basic interface for SAX (Simple API for XML) parsers. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

This was the main event supplier interface for SAX1; it has * been replaced in SAX2 by {@link org.xml.sax.XMLReader XMLReader}, * which includes Namespace support and sophisticated configurability --- old/src/java.xml/share/classes/org/xml/sax/SAXException.java 2019-09-20 04:54:44.929797611 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/SAXException.java 2019-09-20 04:54:44.501787115 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,11 +23,6 @@ * questions. */ -// SAX exception class. -// http://www.saxproject.org -// No warranty; no copyright -- use this as you will. -// $Id: SAXException.java,v 1.3 2004/11/03 22:55:32 jsuttor Exp $ - package org.xml.sax; import java.io.IOException; @@ -39,13 +34,6 @@ /** * Encapsulate a general SAX error or warning. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

This class can contain basic error or warning information from * either the XML parser or the application: a parser writer or * application writer can subclass it to provide additional --- old/src/java.xml/share/classes/org/xml/sax/SAXNotRecognizedException.java 2019-09-20 04:54:45.781818503 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/SAXNotRecognizedException.java 2019-09-20 04:54:45.356808081 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,25 +23,12 @@ * questions. */ -// SAXNotRecognizedException.java - unrecognized feature or value. -// http://www.saxproject.org -// Written by David Megginson -// NO WARRANTY! This class is in the Public Domain. -// $Id: SAXNotRecognizedException.java,v 1.3 2004/11/03 22:55:32 jsuttor Exp $ - package org.xml.sax; /** * Exception class for an unrecognized identifier. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

An XMLReader will throw this exception when it finds an * unrecognized feature or property identifier; SAX applications and * extensions may use this class for other, similar purposes.

--- old/src/java.xml/share/classes/org/xml/sax/SAXNotSupportedException.java 2019-09-20 04:54:46.631839347 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/SAXNotSupportedException.java 2019-09-20 04:54:46.206828925 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,24 +23,11 @@ * questions. */ -// SAXNotSupportedException.java - unsupported feature or value. -// http://www.saxproject.org -// Written by David Megginson -// NO WARRANTY! This class is in the Public Domain. -// $Id: SAXNotSupportedException.java,v 1.4 2004/11/03 22:55:32 jsuttor Exp $ - package org.xml.sax; /** * Exception class for an unsupported operation. * - *
- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

An XMLReader will throw this exception when it recognizes a * feature or property identifier, but cannot perform the requested * operation (setting a state or value). Other SAX2 applications and --- old/src/java.xml/share/classes/org/xml/sax/SAXParseException.java 2019-09-20 04:54:47.483860239 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/SAXParseException.java 2019-09-20 04:54:47.058849817 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,23 +23,11 @@ * questions. */ -// SAX exception class. -// http://www.saxproject.org -// No warranty; no copyright -- use this as you will. -// $Id: SAXParseException.java,v 1.2 2004/11/03 22:55:32 jsuttor Exp $ - package org.xml.sax; /** * Encapsulate an XML parse error or warning. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

This exception may include information for locating the error * in the original XML document, as if it came from a {@link Locator} * object. Note that although the application --- old/src/java.xml/share/classes/org/xml/sax/XMLFilter.java 2019-09-20 04:54:48.343881328 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/XMLFilter.java 2019-09-20 04:54:47.917870882 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,25 +23,12 @@ * questions. */ -// XMLFilter.java - filter SAX2 events. -// http://www.saxproject.org -// Written by David Megginson -// NO WARRANTY! This class is in the Public Domain. -// $Id: XMLFilter.java,v 1.2 2004/11/03 22:55:32 jsuttor Exp $ - package org.xml.sax; /** * Interface for an XML filter. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

An XML filter is like an XML reader, except that it obtains its * events from another XML reader rather than a primary source like * an XML document or database. Filters can modify a stream of --- old/src/java.xml/share/classes/org/xml/sax/XMLReader.java 2019-09-20 04:54:49.195902221 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/XMLReader.java 2019-09-20 04:54:48.766891701 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,12 +23,6 @@ * questions. */ -// XMLReader.java - read an XML document. -// http://www.saxproject.org -// Written by David Megginson -// NO WARRANTY! This class is in the Public Domain. -// $Id: XMLReader.java,v 1.3 2004/11/03 22:55:32 jsuttor Exp $ - package org.xml.sax; import java.io.IOException; @@ -37,17 +31,6 @@ /** * Interface for reading an XML document using callbacks. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * - *

Note: despite its name, this interface does - * not extend the standard Java {@link java.io.Reader Reader} - * interface, because reading XML is a fundamentally different activity - * than reading character data.

* *

XMLReader is the interface that an XML parser's SAX2 driver must * implement. This interface allows an application to set and @@ -75,6 +58,11 @@ *

There are adapters available to convert a SAX1 Parser to * a SAX2 XMLReader and vice-versa.

* + * @apiNote Despite its name, this interface does + * not extend the standard Java {@link java.io.Reader Reader} + * interface, because reading XML is a fundamentally different activity + * than reading character data. + * * @since 1.4, SAX 2.0 * @author David Megginson * @see org.xml.sax.XMLFilter --- old/src/java.xml/share/classes/org/xml/sax/ext/Attributes2.java 2019-09-20 04:54:50.051923212 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/ext/Attributes2.java 2019-09-20 04:54:49.625912765 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 2019, 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 @@ -23,11 +23,6 @@ * questions. */ -// Attributes2.java - extended Attributes -// http://www.saxproject.org -// Public Domain: no warranty. -// $Id: Attributes2.java,v 1.2 2004/11/03 22:49:07 jsuttor Exp $ - package org.xml.sax.ext; import org.xml.sax.Attributes; @@ -35,18 +30,13 @@ /** * SAX2 extension to augment the per-attribute information - * provided though {@link Attributes}. + * provided through {@link Attributes}. * If an implementation supports this extension, the attributes * provided in {@link org.xml.sax.ContentHandler#startElement * ContentHandler.startElement() } will implement this interface, * and the http://xml.org/sax/features/use-attributes2 * feature flag will have the value true. * - *
- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - *
- * *

XMLReader implementations are not required to support this * information, and it is not part of core-only SAX2 distributions.

* --- old/src/java.xml/share/classes/org/xml/sax/ext/Attributes2Impl.java 2019-09-20 04:54:50.904944129 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/ext/Attributes2Impl.java 2019-09-20 04:54:50.474933584 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 2019, 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 @@ -23,11 +23,6 @@ * questions. */ -// Attributes2Impl.java - extended AttributesImpl -// http://www.saxproject.org -// Public Domain: no warranty. -// $Id: Attributes2Impl.java,v 1.3 2005/02/24 11:20:18 gg156739 Exp $ - package org.xml.sax.ext; import org.xml.sax.Attributes; @@ -38,11 +33,6 @@ * SAX2 extension helper for additional Attributes information, * implementing the {@link Attributes2} interface. * - *
- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - *
- * *

This is not part of core-only SAX2 distributions.

* *

The specified flag for each attribute will always --- old/src/java.xml/share/classes/org/xml/sax/ext/DeclHandler.java 2019-09-20 04:54:51.755964997 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/ext/DeclHandler.java 2019-09-20 04:54:51.329954550 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,11 +23,6 @@ * questions. */ -// DeclHandler.java - Optional handler for DTD declaration events. -// http://www.saxproject.org -// Public Domain: no warranty. -// $Id: DeclHandler.java,v 1.2 2004/11/03 22:49:08 jsuttor Exp $ - package org.xml.sax.ext; import org.xml.sax.SAXException; @@ -36,13 +31,6 @@ /** * SAX2 extension handler for DTD declaration events. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

This is an optional extension handler for SAX2 to provide more * complete information about DTD declarations in an XML document. * XML readers are not required to recognize this handler, and it --- old/src/java.xml/share/classes/org/xml/sax/ext/DefaultHandler2.java 2019-09-20 04:54:52.611985987 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/ext/DefaultHandler2.java 2019-09-20 04:54:52.185975541 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 2019, 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 @@ -23,11 +23,6 @@ * questions. */ -// DefaultHandler2.java - extended DefaultHandler -// http://www.saxproject.org -// Public Domain: no warranty. -// $Id: DefaultHandler2.java,v 1.2 2004/11/03 22:49:08 jsuttor Exp $ - package org.xml.sax.ext; import java.io.IOException; @@ -44,11 +39,6 @@ * method the added handler methods just return. Subclassers may * override everything on a method-by-method basis. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - *
- * *

Note: this class might yet learn that the * ContentHandler.setDocumentLocator() call might be passed a * {@link Locator2} object, and that the --- old/src/java.xml/share/classes/org/xml/sax/ext/EntityResolver2.java 2019-09-20 04:54:53.462006831 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/ext/EntityResolver2.java 2019-09-20 04:54:53.035996385 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 2019, 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 @@ -23,11 +23,6 @@ * questions. */ -// EntityResolver2.java - Extended SAX entity resolver. -// http://www.saxproject.org -// No warranty; no copyright -- use this as you will. -// $Id: EntityResolver2.java,v 1.2 2004/11/03 22:49:08 jsuttor Exp $ - package org.xml.sax.ext; import java.io.IOException; @@ -48,11 +43,6 @@ * method (in this interface) is used instead of the older (SAX 1.0) * {@link EntityResolver#resolveEntity EntityResolver.resolveEntity()} method. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - *
- * *

If a SAX application requires the customized handling which this * interface defines for external entities, it must ensure that it uses * an XMLReader with the --- old/src/java.xml/share/classes/org/xml/sax/ext/LexicalHandler.java 2019-09-20 04:54:54.310027626 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/ext/LexicalHandler.java 2019-09-20 04:54:53.884017179 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,11 +23,6 @@ * questions. */ -// LexicalHandler.java - optional handler for lexical parse events. -// http://www.saxproject.org -// Public Domain: no warranty. -// $Id: LexicalHandler.java,v 1.2 2004/11/03 22:49:08 jsuttor Exp $ - package org.xml.sax.ext; import org.xml.sax.SAXException; @@ -35,13 +30,6 @@ /** * SAX2 extension handler for lexical events. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

This is an optional extension handler for SAX2 to provide * lexical information about an XML document, such as comments * and CDATA section boundaries. --- old/src/java.xml/share/classes/org/xml/sax/ext/Locator2.java 2019-09-20 04:54:55.163048543 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/ext/Locator2.java 2019-09-20 04:54:54.735038048 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 2019, 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 @@ -23,11 +23,6 @@ * questions. */ -// Locator2.java - extended Locator -// http://www.saxproject.org -// Public Domain: no warranty. -// $Id: Locator2.java,v 1.2 2004/11/03 22:49:08 jsuttor Exp $ - package org.xml.sax.ext; import org.xml.sax.Locator; @@ -35,7 +30,7 @@ /** * SAX2 extension to augment the entity information provided - * though a {@link Locator}. + * through a {@link Locator}. * If an implementation supports this extension, the Locator * provided in {@link org.xml.sax.ContentHandler#setDocumentLocator * ContentHandler.setDocumentLocator() } will implement this @@ -43,11 +38,6 @@ * http://xml.org/sax/features/use-locator2 feature * flag will have the value true. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - *
- * *

XMLReader implementations are not required to support this * information, and it is not part of core-only SAX2 distributions.

* --- old/src/java.xml/share/classes/org/xml/sax/ext/Locator2Impl.java 2019-09-20 04:54:56.011069337 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/ext/Locator2Impl.java 2019-09-20 04:54:55.585058891 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 2019, 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 @@ -23,11 +23,6 @@ * questions. */ -// Locator2Impl.java - extended LocatorImpl -// http://www.saxproject.org -// Public Domain: no warranty. -// $Id: Locator2Impl.java,v 1.2 2004/11/03 22:49:08 jsuttor Exp $ - package org.xml.sax.ext; import org.xml.sax.Locator; @@ -38,11 +33,6 @@ * SAX2 extension helper for holding additional Entity information, * implementing the {@link Locator2} interface. * - *
- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - *
- * *

This is not part of core-only SAX2 distributions.

* * @since 1.5, SAX 2.0.2 --- old/src/java.xml/share/classes/org/xml/sax/ext/package-info.java 2019-09-20 04:54:56.857090083 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/ext/package-info.java 2019-09-20 04:54:56.431079637 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2019, 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 @@ -27,9 +27,6 @@ * Provides interfaces to SAX2 facilities that * conformant SAX drivers won't necessarily support. * - *

- * See http://www.saxproject.org - * for more information about SAX. * *

* This package is independent of the SAX2 core, though the functionality @@ -66,6 +63,10 @@ * As an example, most validation systems can be cleanly layered on top * of parsers supporting the standardized SAX2 interfaces. * + * @apiNote The SAX API, originally developed at + * the SAX Project, was introduced + * in Java SE 1.4 and continues to be maintained as part of Java SE. + * * @since 1.4 */ --- old/src/java.xml/share/classes/org/xml/sax/helpers/AttributeListImpl.java 2019-09-20 04:54:57.709110976 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/helpers/AttributeListImpl.java 2019-09-20 04:54:57.282100505 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,11 +23,6 @@ * questions. */ -// SAX default implementation for AttributeList. -// http://www.saxproject.org -// No warranty; no copyright -- use this as you will. -// $Id: AttributeListImpl.java,v 1.2 2004/11/03 22:53:08 jsuttor Exp $ - package org.xml.sax.helpers; import java.util.ArrayList; @@ -38,13 +33,6 @@ /** * Default implementation for AttributeList. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

AttributeList implements the deprecated SAX1 {@link * org.xml.sax.AttributeList AttributeList} interface, and has been * replaced by the new SAX2 {@link org.xml.sax.helpers.AttributesImpl --- old/src/java.xml/share/classes/org/xml/sax/helpers/AttributesImpl.java 2019-09-20 04:54:58.562131893 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/helpers/AttributesImpl.java 2019-09-20 04:54:58.138121496 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,12 +23,6 @@ * questions. */ -// AttributesImpl.java - default implementation of Attributes. -// http://www.saxproject.org -// Written by David Megginson -// NO WARRANTY! This class is in the public domain. -// $Id: AttributesImpl.java,v 1.2 2004/11/03 22:53:08 jsuttor Exp $ - package org.xml.sax.helpers; import org.xml.sax.Attributes; @@ -37,13 +31,6 @@ /** * Default implementation of the Attributes interface. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

This class provides a default implementation of the SAX2 * {@link org.xml.sax.Attributes Attributes} interface, with the * addition of manipulators so that the list can be modified or --- old/src/java.xml/share/classes/org/xml/sax/helpers/DefaultHandler.java 2019-09-20 04:54:59.418152883 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/helpers/DefaultHandler.java 2019-09-20 04:54:58.991142413 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,12 +23,6 @@ * questions. */ -// DefaultHandler.java - default implementation of the core handlers. -// http://www.saxproject.org -// Written by David Megginson -// NO WARRANTY! This class is in the public domain. -// $Id: DefaultHandler.java,v 1.3 2006/04/13 02:06:32 jeffsuttor Exp $ - package org.xml.sax.helpers; import java.io.IOException; @@ -47,13 +41,6 @@ /** * Default base class for SAX2 event handlers. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

This class is available as a convenience base class for SAX2 * applications: it provides default implementations for all of the * callbacks in the four core SAX2 handler classes:

--- old/src/java.xml/share/classes/org/xml/sax/helpers/LocatorImpl.java 2019-09-20 04:55:00.270173776 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/helpers/LocatorImpl.java 2019-09-20 04:54:59.845163354 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,11 +23,6 @@ * questions. */ -// SAX default implementation for Locator. -// http://www.saxproject.org -// No warranty; no copyright -- use this as you will. -// $Id: LocatorImpl.java,v 1.2 2004/11/03 22:53:09 jsuttor Exp $ - package org.xml.sax.helpers; import org.xml.sax.Locator; @@ -36,13 +31,6 @@ /** * Provide an optional convenience implementation of Locator. * - *
- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

This class is available mainly for application writers, who * can use it to make a persistent snapshot of a locator at any * point during a document parse:

--- old/src/java.xml/share/classes/org/xml/sax/helpers/NamespaceSupport.java 2019-09-20 04:55:01.120194620 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/helpers/NamespaceSupport.java 2019-09-20 04:55:00.693184149 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,12 +23,6 @@ * questions. */ -// NamespaceSupport.java - generic Namespace support for SAX. -// http://www.saxproject.org -// Written by David Megginson -// This class is in the Public Domain. NO WARRANTY! -// $Id: NamespaceSupport.java,v 1.5 2004/11/03 22:53:09 jsuttor Exp $ - package org.xml.sax.helpers; import java.util.ArrayList; @@ -44,13 +38,6 @@ * Encapsulate Namespace logic for use by applications using SAX, * or internally by SAX drivers. * - *
- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

This class encapsulates the logic of Namespace processing: it * tracks the declarations currently in force for each context and * automatically processes qualified XML names into their Namespace --- old/src/java.xml/share/classes/org/xml/sax/helpers/NewInstance.java 2019-09-20 04:55:01.984215807 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/helpers/NewInstance.java 2019-09-20 04:55:01.554205262 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2019, 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 @@ -23,13 +23,6 @@ * questions. */ -// NewInstance.java - create a new instance of a class by name. -// http://www.saxproject.org -// Written by Edwin Goei, edwingo@apache.org -// and by David Brownell, dbrownell@users.sourceforge.net -// NO WARRANTY! This class is in the Public Domain. -// $Id: NewInstance.java,v 1.2 2005/06/10 03:50:50 jeffsuttor Exp $ - package org.xml.sax.helpers; import java.lang.reflect.InvocationTargetException; @@ -38,12 +31,6 @@ /** * Create a new instance of a class by name. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
* *

This class contains a static method for creating an instance of a * class from an explicit class name. It tries to use the thread's context --- old/src/java.xml/share/classes/org/xml/sax/helpers/ParserAdapter.java 2019-09-20 04:55:02.836236699 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/helpers/ParserAdapter.java 2019-09-20 04:55:02.408226204 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,12 +23,6 @@ * questions. */ -// ParserAdapter.java - adapt a SAX1 Parser to a SAX2 XMLReader. -// http://www.saxproject.org -// Written by David Megginson -// NO WARRANTY! This class is in the public domain. -// $Id: ParserAdapter.java,v 1.3 2004/11/03 22:53:09 jsuttor Exp $ - package org.xml.sax.helpers; import java.io.IOException; @@ -56,13 +50,6 @@ /** * Adapt a SAX1 Parser as a SAX2 XMLReader. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

This class wraps a SAX1 {@link org.xml.sax.Parser Parser} * and makes it act as a SAX2 {@link org.xml.sax.XMLReader XMLReader}, * with feature, property, and Namespace support. Note --- old/src/java.xml/share/classes/org/xml/sax/helpers/ParserFactory.java 2019-09-20 04:55:03.691257665 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/helpers/ParserFactory.java 2019-09-20 04:55:03.264247195 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,11 +23,6 @@ * questions. */ -// SAX parser factory. -// http://www.saxproject.org -// No warranty; no copyright -- use this as you will. -// $Id: ParserFactory.java,v 1.2 2004/11/03 22:53:09 jsuttor Exp $ - package org.xml.sax.helpers; import jdk.xml.internal.SecuritySupport; @@ -35,13 +30,6 @@ /** * Java-specific class for dynamically loading SAX parsers. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

Note: This class is designed to work with the now-deprecated * SAX1 {@link org.xml.sax.Parser Parser} class. SAX2 applications should use * {@link org.xml.sax.helpers.XMLReaderFactory XMLReaderFactory} instead.

--- old/src/java.xml/share/classes/org/xml/sax/helpers/XMLFilterImpl.java 2019-09-20 04:55:04.543278558 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/helpers/XMLFilterImpl.java 2019-09-20 04:55:04.117268112 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,12 +23,6 @@ * questions. */ -// XMLFilterImpl.java - base SAX2 filter implementation. -// http://www.saxproject.org -// Written by David Megginson -// NO WARRANTY! This class is in the Public Domain. -// $Id: XMLFilterImpl.java,v 1.3 2004/11/03 22:53:09 jsuttor Exp $ - package org.xml.sax.helpers; import java.io.IOException; @@ -51,13 +45,6 @@ /** * Base class for deriving an XML filter. * - *
- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

This class is designed to sit between an {@link org.xml.sax.XMLReader * XMLReader} and the client application's event handlers. By default, it * does nothing but pass requests up to the reader and events --- old/src/java.xml/share/classes/org/xml/sax/helpers/XMLReaderAdapter.java 2019-09-20 04:55:05.403299647 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/helpers/XMLReaderAdapter.java 2019-09-20 04:55:04.978289225 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,12 +23,6 @@ * questions. */ -// XMLReaderAdapter.java - adapt an SAX2 XMLReader to a SAX1 Parser -// http://www.saxproject.org -// Written by David Megginson -// NO WARRANTY! This class is in the public domain. -// $Id: XMLReaderAdapter.java,v 1.3 2004/11/03 22:53:09 jsuttor Exp $ - package org.xml.sax.helpers; import java.io.IOException; @@ -53,13 +47,6 @@ /** * Adapt a SAX2 XMLReader as a SAX1 Parser. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

This class wraps a SAX2 {@link org.xml.sax.XMLReader XMLReader} * and makes it act as a SAX1 {@link org.xml.sax.Parser Parser}. The XMLReader * must support a true value for the --- old/src/java.xml/share/classes/org/xml/sax/helpers/XMLReaderFactory.java 2019-09-20 04:55:06.328322330 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/helpers/XMLReaderFactory.java 2019-09-20 04:55:05.902311883 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2019, 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 @@ -23,13 +23,6 @@ * questions. */ -// XMLReaderFactory.java - factory for creating a new reader. -// http://www.saxproject.org -// Written by David Megginson -// and by David Brownell -// NO WARRANTY! This class is in the Public Domain. -// $Id: XMLReaderFactory.java,v 1.2.2.1 2005/07/31 22:48:08 jeffsuttor Exp $ - package org.xml.sax.helpers; import java.io.BufferedReader; @@ -50,13 +43,6 @@ /** * Factory for creating an XML reader. * - *

- * This module, both source code and documentation, is in the - * Public Domain, and comes with NO WARRANTY. - * See http://www.saxproject.org - * for further information. - *
- * *

This class contains static methods for creating an XML reader * from an explicit class name, or based on runtime defaults: * --- old/src/java.xml/share/classes/org/xml/sax/helpers/package-info.java 2019-09-20 04:55:07.181343247 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/helpers/package-info.java 2019-09-20 04:55:06.753332751 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2019, 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 @@ -28,9 +28,9 @@ * Provides helper classes, including * support for bootstrapping SAX-based applications. * - *

- * See http://www.saxproject.org - * for more information about SAX. + * @apiNote The SAX API, originally developed at + * the SAX Project, was introduced + * in Java SE 1.4 and continues to be maintained as part of Java SE. * * @since 1.4 */ --- old/src/java.xml/share/classes/org/xml/sax/package-info.java 2019-09-20 04:55:08.031364090 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/package-info.java 2019-09-20 04:55:07.604353619 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2019, 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 @@ -24,16 +24,10 @@ */ /** - * Provides the core SAX APIs. - * Some SAX1 APIs are deprecated to encourage integration of - * namespace-awareness into designs of new applications - * and into maintenance of existing infrastructure. + * Provides the interfaces for the Simple API for XML (SAX). Supports both + * the SAX1 and SAX2 APIs. * *

- * See http://www.saxproject.org - * for more information about SAX. - * - * *

SAX2 Standard Feature Flags

* *

@@ -330,6 +324,9 @@ * All of these standard properties are optional. * XMLReader implementations are not required to support them. * + * @apiNote The SAX API, originally developed at + * the SAX Project, was introduced + * in Java SE 1.4 and continues to be maintained as part of Java SE. * * @since 1.4 */