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
    • None

      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

        1. jakarta_ns_ruleset_3.png
          136 kB
          Nitish Srivastava
        2. jakarta_quickfix_unapply.png
          151 kB
          Nitish Srivastava
        3. Screenshot from 2021-11-17 10-56-52.png
          203 kB
          Shveta Sachdeva
        4. Screenshot from 2021-11-17 11-29-20.png
          163 kB
          Shveta Sachdeva
        5. Screenshot from 2021-11-17 11-29-24.png
          133 kB
          Shveta Sachdeva
        6. Screenshot from 2021-11-17 11-29-24-1.png
          133 kB
          Shveta Sachdeva
        7. VSCodeQuickFixProblem.png
          348 kB
          Philip Cattanach

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

                Created:
                Updated:
                Resolved: