<div dir="ltr"><div><div><div>Hi!<br><br></div>I think we can. But I can't see in the xsd file where we diallow the $ character. patternType is an xs:string which allows every legal character, and I even managed to validate a patterndb file with $ in it's program name with xmllint. Can you please send me an example of non-validating xml file?<br><br></div>Best Regards,<br></div>Viktor<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 25, 2014 at 10:37 PM, Balazs Scheidler <span dir="ltr"><<a href="mailto:bazsi77@gmail.com" target="_blank">bazsi77@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I think the restriction should be removed. Viktor, do you agree?</p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Oct 20, 2014 12:47 AM, "Evan Rempel" <<a href="mailto:erempel@uvic.ca" target="_blank">erempel@uvic.ca</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Technically speaking, any non-alphanumeric character will terminate the<br>
TAG field at the beginning<br>
of the message. This is usually one of : [ or space as in the examples<br>
<br>
program: this is the message<br>
program[123]: this is the message<br>
program this is the message<br>
<br>
<br>
In practice though, syslog daemons will send TAGs that contain any<br>
character and the syslog-ng Agent for Windows<br>
will forward the application name as it shows in the Windows Event Log.<br>
In some cases, this TAG will contain a $ character.<br>
<br>
The patterndb-4.xsd definition disallows the $ character in the program<br>
pattern in pattern database files.<br>
<br>
Can this restriction be removed to allow for the $ or is this a larger<br>
issue that I see?<br>
<br>
Thanks again for all of the support.<br>
<br>
Evan.<br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div>
</div></div><br>______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
<br></blockquote></div><br></div>