ppkarwasz commented on issue #1955: URL: https://github.com/apache/logging-log4j2/issues/1955#issuecomment-1827709401
> 1. `log4j-plugins` parses Log4j plugins and generates some sort of DOM model already – correct me if I am wrong. How would you compare us generating an XSD out of this DOM model versus decorating plugins with Modello and using Modello to generate an XSD? I thought to use Modello **only** as an implementation detail. `log4j-plugins` will generate some XML (right now it generates Java code). We'll use Modello to parse these XML files and generate: 1. A common XSD for all the Log4j (and in the future third-party) modules, 2. A set of documentation pages. > 2. When Modello is employed, do we need to use both Log4j and Modello annotations for plugins? No, this will be transparent for the user. > Given XSD is an XML too, I would favor simply passing XSD model to FreeMarker (through a simple `Map<String,Object>`?) and deal with _representation_ there. The XSD schema will cover only part of our plugins (those in the "Core" namespace). -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
