Skip to content

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

Open

Description

@antboy

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:

Activity

  1. antboy commented on Sep 21, 2024

    @antboy
    Author

    Hash: e84a46c

  2. ppkarwasz commented on Sep 21, 2024

    @ppkarwasz
    Member

    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.

  3. added
    configuration
    documentation
    priority: P3
    on Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    configurationdocumentationpriority: P3

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions