
Could you provide XML Schema (XSD) for XML configuration files ? In Eclipse there is smart code completion for XML files associated with XSD, I found for Log4j there is DTD: http://wiki.apache.org/logging-log4j/Log4jXmlFormat I found some discussion here: http://www.mail-archive.com/logback-user@qos.ch/msg00055.html "There is no DTD to logback configuration files because this is pretty difficult to give a description that is not too strict of the possibilities that the components of logback may offer. " Actually DTD is very primitive, I think that XSD is much more appreciate way. I prepared XSD for Open Street Map (http://forum.openstreetmap.org/viewtopic.php?id=7186), please let me know if you interested in my any help. Regards, Grzegorz Szpetkowski

Hi Grzegorz, I think that providing an XML Schema for logback configuration files would be very hard work. If think you are up to the job, please don't let me stop you. :-) -- Ceki On 02/02/2011 9:38 PM, Grzegorz Szpetkowski wrote:
Could you provide XML Schema (XSD) for XML configuration files ? In Eclipse there is smart code completion for XML files associated with XSD,
I found for Log4j there is DTD: http://wiki.apache.org/logging-log4j/Log4jXmlFormat
I found some discussion here: http://www.mail-archive.com/logback-user@qos.ch/msg00055.html
"There is no DTD to logback configuration files because this is pretty difficult to give a description that is not too strict of the possibilities that the components of logback may offer. "
Actually DTD is very primitive, I think that XSD is much more appreciate way. I prepared XSD for Open Street Map (http://forum.openstreetmap.org/viewtopic.php?id=7186), please let me know if you interested in my any help.
Regards, Grzegorz Szpetkowski

Ceki, I guess your saying it's hard to do and XSD as there is no limit on what elements could exist? If that is the only problem, then we could have an XSD that knows about all the usual elements, but is not overly restrictive. It can use xsd:any to allow wildcards. However there are issues even with that. So it'll be interest to see what Grzegorz comes up with. David. On 2 Feb 2011, at 22:54, Ceki Gülcü <ceki@qos.ch> wrote:
Hi Grzegorz, I think that providing an XML Schema for logback configuration files would be very hard work. If think you are up to the job, please don't let me stop you. :-) -- Ceki On 02/02/2011 9:38 PM, Grzegorz Szpetkowski wrote:
Could you provide XML Schema (XSD) for XML configuration files ? In Eclipse there is smart code completion for XML files associated with XSD,
I found for Log4j there is DTD: http://wiki.apache.org/logging-log4j/Log4jXmlFormat
I found some discussion here: http://www.mail-archive.com/logback-user@qos.ch/msg00055.html
"There is no DTD to logback configuration files because this is pretty difficult to give a description that is not too strict of the possibilities that the components of logback may offer. "
Actually DTD is very primitive, I think that XSD is much more appreciate way. I prepared XSD for Open Street Map (http://forum.openstreetmap.org/viewtopic.php?id=7186), please let me know if you interested in my any help.
Regards, Grzegorz Szpetkowski
_______________________________________________ Logback-user mailing list Logback-user@qos.ch http://qos.ch/mailman/listinfo/logback-user

Even a non-strict one would be great. I could then stop explaining these violation messages on logback config files all the time! No grammar constraints (DTD or XML schema) detected for the document. On Wed, Feb 9, 2011 at 6:31 AM, David Roussel <nabble@diroussel.xsmail.com> wrote:
Ceki,
I guess your saying it's hard to do and XSD as there is no limit on what elements could exist?
If that is the only problem, then we could have an XSD that knows about all the usual elements, but is not overly restrictive. It can use xsd:any to allow wildcards. However there are issues even with that. So it'll be interest to see what Grzegorz comes up with.
David.
On 2 Feb 2011, at 22:54, Ceki Gülcü <ceki@qos.ch> wrote:
Hi Grzegorz, I think that providing an XML Schema for logback configuration files would be very hard work. If think you are up to the job, please don't let me stop you. :-) -- Ceki On 02/02/2011 9:38 PM, Grzegorz Szpetkowski wrote:
Could you provide XML Schema (XSD) for XML configuration files ? In Eclipse there is smart code completion for XML files associated with XSD,
I found for Log4j there is DTD: http://wiki.apache.org/logging-log4j/Log4jXmlFormat
I found some discussion here: http://www.mail-archive.com/logback-user@qos.ch/msg00055.html
"There is no DTD to logback configuration files because this is pretty difficult to give a description that is not too strict of the possibilities that the components of logback may offer. "
Actually DTD is very primitive, I think that XSD is much more appreciate way. I prepared XSD for Open Street Map (http://forum.openstreetmap.org/viewtopic.php?id=7186), please let me know if you interested in my any help.
Regards, Grzegorz Szpetkowski
_______________________________________________ Logback-user mailing list Logback-user@qos.ch http://qos.ch/mailman/listinfo/logback-user
Logback-user mailing list Logback-user@qos.ch http://qos.ch/mailman/listinfo/logback-user
participants (4)
-
Ceki Gülcü
-
David Roussel
-
Grzegorz Szpetkowski
-
Jeff Jensen