logback-XSD icon indicating copy to clipboard operation
logback-XSD copied to clipboard

Add optionals attributes in <define> node

Open aldhor opened this issue 6 years ago • 1 comments

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

aldhor avatar Jul 12 '18 19:07 aldhor

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>

aldhor avatar Jul 25 '18 02:07 aldhor