Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-3149

Java EE 8 to Jakarta EE9 - Rename deployment descriptor namespaces

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • AMM Sprint 208, Sprint 209 AMM, Sprint 210 AMM, Sprint 211 AMM

      Update the XML scheme references in your XML descriptor files. Check the Jakarta EE 9 schemas. In most cases, it is a simple replace of http://xmlns.jcp.org/xml/ns/ with https://jakarta.ee/xml/ns/ in addition to the schema version number.
      Before

      <persistence version="2.2" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_2.xsd">

      After

      <persistence version="3.0" xmlns="https://jakarta.ee/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_0.xsd">

      Reference complete-duke

            rhn-support-sshveta Shveta Sachdeva
            pcattana Philip Cattanach
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: