Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12592

Improve error message when XML element is removed

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 12.0.0.Final
    • 12.0.0.Final
    • Configuration, Core
    • None

      When an element is removed from the XML configuration schema, configurations using the old XML namespace trigger a warning that the element is deprecated, including the name of the replacement element.

      Configurations files with no namespace declarations are assumed to be using the latest schema and don't trigger the warning, instead they trigger a generic `Unexpected element 'X' encountered` exception.

      Assuming the latest schema is the right thing to do, but we need to improve the error message for upgraders.

            [ISPN-12592] Improve error message when XML element is removed

            There are no comments yet on this issue.

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: