Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example xinclude-loggers.xml is not quite right (minor mistype, fails validation re xsd) #2997

Open
antboy opened this issue Sep 21, 2024 · 2 comments

Comments

@antboy
Copy link

antboy commented Sep 21, 2024

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:

@antboy
Copy link
Author

antboy commented Sep 21, 2024

Hash: e84a46c

@ppkarwasz
Copy link
Contributor

Hi @antboy,

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants