Hey there,
just wanted to make a comment on the 'logback.XML to Groovy translator' webpage.

It seems that ampersands ("&") are not HTML escaped an therefore, if you have 
some
logical expression within your XML like this:
<expression>
        marker != null && marker.contains("SMTP_TRIGGER") 
</expression>

You will see the following error:
// XML parsing failure
// org.xml.sax.SAXParseException: The entity name must immediately follow the 
'&' in the entity reference.

So you have to escape the ampersands yourself ("&amp;"), like this:
<expression>
        marker != null &amp;&amp; marker.contains("SMTP_TRIGGER") 
</expression>

To make it work.

Just wanted to let you know ;)

_______________________________________________
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user

Reply via email to