jbb01 commented on issue #3423: URL: https://github.com/apache/logging-log4j2/issues/3423#issuecomment-2621250056
After digging through some code I found, that the plugin descriptor `log4j-core-plugins.xml` still contains the `charset` attribute and the issue seems to be with the generation of the XSD from said descriptor. In particular, the issue seem to be https://github.com/apache/logging-log4j2/blob/f2efdd5a33e869869528d727fd26c1d2a4f0754c/pom.xml#L368 which prevents the generation of XML types for classes in the `java` package, which then prevents attributes with those types from being included in the generated XSD in `SchemaGenerator::writePluginAttribute`. After removing the exclusion, the generated XSD contains the `charset` attribute. A reasonable thing would probably be to allow generation of XML types for all classes for which a `TypeConverter` is available, even if those classes are in the `java` package. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org