Uploaded image for project: 'JBoss Log Manager'
  1. JBoss Log Manager
  2. LOGMGR-193

The XmlFormatter includes a Namespace enum which needs to be removed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.1.1.Final
    • 2.1.0.Final
    • None
    • None
    • Hide
      Please note this change removes an inner class and a method. In most cases these methods should not be used as the configuration API or a properties should be used. However if manual configuration of an XmlFormatter is done the setNamespace(XmlFormatter.Namespace) setter has been removed.
      Show
      Please note this change removes an inner class and a method. In most cases these methods should not be used as the configuration API or a properties should be used. However if manual configuration of an XmlFormatter is done the setNamespace(XmlFormatter.Namespace) setter has been removed.

    Description

      The XmlFormatter contains a XmlFormatter.Namespace enum which needs to be removed. The idea of allowing keys to be overridden is a user can provide their own namespace. With an enum and a setter for the enum this breaks this use case as the Enum.valueOf(XmlFormatter.Namespace.class, "some:uri") is invalid. The string setter should always be used rendering the enum a problem.

      Attachments

        Activity

          People

            jperkins-rhn James Perkins
            jperkins-rhn James Perkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: