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
{{ message }}
Repository navigation
Example xinclude-loggers.xml is not quite right (minor mistype, fails validation re xsd) #2997
configurationAffects the configuration system in a general waydocumentationPull requests or issues that affect documentationpriority: P3Enhancement, documentation, tests or build
The example
src/site/antora/modules/ROOT/examples/manual/configuration/xinclude-loggers.xml
a) contains a spelling mistype (Rogger -> Logger)
b) the example would fail validation with the standard xsd schema (which is absent in the example) due to
"Attribute 'additivity' is not allowed to appear in element 'Logger'.
Although using it does actually work, so perhaps it's an xsd problem really?
The above problem, if the xml contains the xsd reference:
The example src/site/antora/modules/ROOT/examples/manual/configuration/xinclude-loggers.xml a) contains a spelling mistype (Rogger -> Logger)
Thanks for noticing, can you make a PR fixing the problem? You can use the "Edit" button on GitHub.
b) the example would fail validation with the standard xsd schema (which is absent in the example) due to "Attribute 'additivity' is not allowed to appear in element 'Logger'. Although using it does actually work, so perhaps it's an xsd problem really?
The problem with additivity is known: apache/logging-log4j-tools#135.
We are working on fixing it, but it is at the bottom of my TODO list unfortunately.
configurationAffects the configuration system in a general waydocumentationPull requests or issues that affect documentationpriority: P3Enhancement, documentation, tests or build
Activity
antboy commentedon Sep 21, 2024
Hash: e84a46c
ppkarwasz commentedon Sep 21, 2024
Hi @antboy,
Thanks for noticing, can you make a PR fixing the problem? You can use the "Edit" button on GitHub.
The problem with
additivityis known: apache/logging-log4j-tools#135.We are working on fixing it, but it is at the bottom of my TODO list unfortunately.