XML include doesn't work from OpenJDK 1.8.0_102

Solution Verified - Updated -

Issue

  • My data in an included XML file, mydata.xml below, are not instantiated by JAXB.unmarshal(). It worked till OpenJDK 1.8.0_101.
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="mydata.xml"></xi:include>
  • Oracle JDK has the same issue between 1.8.0_101 and 1.8.0_102.

Environment

  • Java Development Kit (JDK) 1.8.0_102 and later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content