Skip to content

Conversation

ppkarwasz
Copy link
Contributor

This update enhances the generated XML schema by allowing each attribute to accept either its strict, expected type or a ${...} expression. This accommodates use cases where property substitution is used, but at the same time allows IDE auto-completions.

Warning

This PR depends on #190 and should not be reviewed until that is merged.

Closes #136

ppkarwasz added 2 commits May 29, 2025 10:08
Previously, `SchemaGenerator` did not handle configuration attributes with boxed types (e.g., `Integer`, `Boolean`), leading to their omission from the generated XSD schema.

This update introduces:

* Support for boxed Java types as configuration attributes.
* Improved handling of other native Java types that map to XML built-in data types (e.g., `BigDecimal`, `URL`).

These enhancements ensure that all relevant configuration attributes are accurately represented in the schema.

Fixes: #135
This update enhances the generated XML schema by allowing each attribute to accept either its strict, expected type or a `${...}` expression. This accommodates use cases where property substitution is used, but at the same time allows IDE auto-completions.

> [!WARNING]
> This PR depends on #190 and should not be reviewed until that is merged.

Closes #136
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.

log4j-docgen: Set all attributes type as union of their strict type and String
1 participant