Integrated: 8256515: javax.xml.XMLEventReader produces incorrect START_DOCUMENT event
Marius Volkhart
github.com+1709517+mariusvolkhart at openjdk.java.net
Tue Dec 8 20:46:36 UTC 2020
On Wed, 4 Nov 2020 14:01:53 GMT, Marius Volkhart <github.com+1709517+MariusVolkhart at openjdk.org> wrote:
> The default implementation of javax.xml.stream.XMLEventReader produced a StartDocument event that always indicated that the "standalone" attribute was set.
>
> The root cause of this was that the com.sun.xml.internal.stream.events.XMLEventAllocatorImpl always set the "standalone" attribute, rather than asking streamReader.standaloneSet() before setting the property of the StartDocumentEvent being created.
This pull request has now been integrated.
Changeset: c47ab5f6
Author: Marius Volkhart <marius at volkhart.com>
Committer: Joe Wang <joehw at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/c47ab5f6
Stats: 33 lines in 3 files changed: 25 ins; 0 del; 8 mod
8256515: javax.xml.XMLEventReader produces incorrect START_DOCUMENT event
Reviewed-by: joehw
-------------
PR: https://git.openjdk.java.net/jdk/pull/1056
More information about the core-libs-dev
mailing list