logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: Problem on including DTD entity in a log4j configuration file
Date Mon, 16 Nov 2009 01:48:04 GMT

On Nov 15, 2009, at 2:25 PM, Brett Randall wrote:

> What is in common.xml, and is it valid according to the dtd?
> Brett

The message is reporting that the content after common.xml is merged  
is not valid according to the DTD.  The DOMConfigurator is less strict  
than the DTD that specifies (ignoring atypical elements)  all the  
appender elements appear first, then any logger elements, then an  
optional root element.  In XML DTD, if you cannot constrain the number  
of elements of a specific type without constraining the order.

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

View raw message