You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank You for the report. I moved it to logging-log4j-tools, since the problem is caused by our log4j-docgen generator. The meta-definition of the <Component> element does not contain filters:
Description
log4j.xml from https://github.com/apache/logging-log4j2/blob/2.x/src/site/antora/modules/ROOT/examples/manual/markers/log4j2.xml doesn't validate:
Multiple annotations found at this line:
- Element name 'MarkerFilter' is invalid.
One of the following is expected:
Error indicated by:
{https://logging.apache.org/xml/ns}
with code:
- cvc-complex-type.2.4.a: Invalid content was found starting with element
'{"https://logging.apache.org/xml/ns":MarkerFilter}'. One of '{"https://
logging.apache.org/xml/ns":CustomLevels, "https://logging.apache.org/xml/
ns":Loggers}' is expected.
Configuration
Version: Used xsd - https://logging.apache.org/xml/ns/log4j-config-2.xsd
Reproduction
validate https://github.com/apache/logging-log4j2/blob/2.x/src/site/antora/modules/ROOT/examples/manual/markers/log4j2.xml
The text was updated successfully, but these errors were encountered: