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

Marius Volkhart github.com+1709517+mariusvolkhart at openjdk.java.net
Tue Dec 8 16:25:25 UTC 2020


> 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

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/1056/files
  - new: https://git.openjdk.java.net/jdk/pull/1056/files/0fa81e46..68ab39aa

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1056&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1056&range=02-03

  Stats: 79 lines in 4 files changed: 25 ins; 46 del; 8 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1056.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1056/head:pull/1056

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


More information about the core-libs-dev mailing list