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

Add an XML schema generator #92

Merged
merged 4 commits into from
Jan 19, 2024
Merged

Conversation

ppkarwasz
Copy link
Contributor

@ppkarwasz ppkarwasz commented Dec 20, 2023

Adds an XML schema generator that uses an XML metadata file as input (cf. log4j-docgen/src/test/resources/META-INF/log4j/plugins-sample.xml as example) and output an XML schema.

Tips for the reviewers

An example of generated XML schema is in log4j-docgen/src/test/resources/expected/xsd/log4j-config.xsd. It describes a minimal set of Log4j plugins. You can peruse it in an IDE to see if in needs some changes.

Part of apache/logging-log4j2#1955.

@ppkarwasz ppkarwasz merged commit 5eb5e66 into apache:main Jan 19, 2024
5 checks passed
@ppkarwasz ppkarwasz deleted the schema-generator branch January 19, 2024 16:06
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

Successfully merging this pull request may close these issues.

3 participants