Open IMurzich opened 1 month ago
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:
Error indicated by: {https://logging.apache.org/xml/ns} with code:
Version: Used xsd - https://logging.apache.org/xml/ns/log4j-config-2.xsd
validate https://github.com/apache/logging-log4j2/blob/2.x/src/site/antora/modules/ROOT/examples/manual/markers/log4j2.xml
@IMurzich,
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:
logging-log4j-tools
log4j-docgen
<Component>
https://github.com/apache/logging-log4j-tools/blob/d795a97683ce3042005a8d512ae7494bdb669f26/log4j-docgen/src/main/resources/org/apache/logging/log4j/docgen/generator/base-log4j-types.xml#L118-L136
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:
Error indicated by: {https://logging.apache.org/xml/ns} with code:
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