Forum Stats

  • 3,837,916 Users
  • 2,262,307 Discussions
  • 7,900,431 Comments

Discussions

Unable to convert XML Stream Events Namespace to XML Stream Events Attribute in java 11.0.5 (Debian

4094494
4094494 Member Posts: 2
edited Nov 11, 2019 3:24AM in Java Technology & XML

Error:  incompatible types: java.util.Iterator<javax.xml.stream.events.Namespace> cannot be converted to java.util.Iterator<javax.xml.stream.events.Attribute>

Note: The above error appeared in open JDK version 11.0.5(OS - Debian 10) and was not seen in open JDK - 1.7 & 1.8