RFR: 8256515: javax.xml.XMLEventReader produces incorrect START_DOCUMENT event [v4]

Joe Wang joehw at openjdk.java.net
Tue Dec 8 19:15:45 UTC 2020


On Tue, 8 Dec 2020 16:25:25 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.
>
> Marius Volkhart has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - fixup! Fix: javax.xml.stream.XMLEventReader produces incorrect START_DOCUMENT event
>  - fixup! Fix: javax.xml.stream.XMLEventReader produces incorrect START_DOCUMENT event

Marked as reviewed by joehw (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/1056


More information about the core-libs-dev mailing list