[jboss-jira] [JBoss JIRA] (LOGMGR-193) The XmlFormatter includes a Namespace enum which needs to be removed

James Perkins (JIRA) issues at jboss.org
Tue Apr 10 18:02:00 EDT 2018


James Perkins created LOGMGR-193:
------------------------------------

             Summary: The XmlFormatter includes a Namespace enum which needs to be removed
                 Key: LOGMGR-193
                 URL: https://issues.jboss.org/browse/LOGMGR-193
             Project: JBoss Log Manager
          Issue Type: Bug
    Affects Versions: 2.1.0.Final
            Reporter: James Perkins
            Assignee: James Perkins
             Fix For: 2.1.1.Final


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.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list