JDK-8230936 : Release Note: New Method to SAX ContentHandler for Handling XML Declaration
  • Type: Sub-task
  • Component: xml
  • Sub-Component: jaxp
  • Affected Version: 14
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2019-09-12
  • Updated: 2020-04-27
  • Resolved: 2019-09-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 14
14Resolved
Description
A new method `declaration` has been added to `SAX ContentHandler` to receive notification of the XML declaration. By implementing this method, applications can receive the values of version, encoding, and standalone attributes exactly as declared in the input document.