[logback-user] LOGback XML configuration schema
jjensen at apache.org
Wed Feb 9 20:34:55 CET 2011
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 at diroussel.xsmail.com> wrote:
> 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.
> On 2 Feb 2011, at 22:54, Ceki Gülcü <ceki at 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. :-)
>> 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
>>> I found for Log4j there is DTD:
>>> I found some discussion here:
>>> "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.
>>> Grzegorz Szpetkowski
>> Logback-user mailing list
>> Logback-user at qos.ch
> Logback-user mailing list
> Logback-user at qos.ch
More information about the Logback-user