You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Emmanuel Guiton (JIRA)" <ji...@apache.org> on 2013/10/17 10:58:42 UTC

[jira] [Created] (LOG4J2-433) Add namespace to the Log4j-config.xsd

Emmanuel Guiton created LOG4J2-433:
--------------------------------------

             Summary: Add namespace to the Log4j-config.xsd
                 Key: LOG4J2-433
                 URL: https://issues.apache.org/jira/browse/LOG4J2-433
             Project: Log4j 2
          Issue Type: Improvement
          Components: Configurators
    Affects Versions: 2.0-beta9
            Reporter: Emmanuel Guiton
            Priority: Trivial


The Log4j-config.xsd does not declare any targetNamespace :
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">

That would be better to do it (as it is done in Log4j-events.xsd : <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:log4j="http://logging.apache.org/log4j/2.0/events" targetNamespace="http://logging.apache.org/log4j/2.0/events" elementFormDefault="qualified" attributeFormDefault="unqualified">) in order to enable declaring the namespace in log4j2.xml files and thus enabling XML validation and autocompletion, using IDEs such as eclipse.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org