logback-XSD
logback-XSD copied to clipboard
Add optionals attributes in <define> node
Optional attribute:
https://logback.qos.ch/manual/configuration.html#definingPropsOnTheFly
It is very useful to set parameters in runtime. For example, the name of the file or directory of a FILE type appender. You can recall ten value using ${LOG_PATH} in the example
Best regards
I can see the fix, need add processContents=lax
in xsd:any and xsd:anyAttribute
<xsd:complexType name="Define"> xsd:sequence <xsd:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/> </xsd:sequence> <xsd:anyAttribute processContents="lax" /> </xsd:complexType>