logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Guiton (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LOG4J2-433) Add namespace to the Log4j-config.xsd
Date Thu, 17 Oct 2013 08:58:42 GMT
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

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

View raw message