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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to