[syslog-ng] [Bug 203] New: patterndb rule tag can not have a hyphen in the class attribute
bugzilla at bugzilla.balabit.com
bugzilla at bugzilla.balabit.com
Wed Oct 10 04:02:09 CEST 2012
https://bugzilla.balabit.com/show_bug.cgi?id=203
Summary: patterndb rule tag can not have a hyphen in the class
attribute
Product: syslog-ng
Version: 3.3.x
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: unspecified
Component: syslog-ng
AssignedTo: bazsi at balabit.hu
ReportedBy: erempel at uvic.ca
Type of the Report: ---
Estimated Hours: 0.0
Just seems odd that the rule tag can not have a hyphen in the class attribute.
The error is
element rule: Schemas validity error :
Element 'rule', attribute 'class': [facet 'pattern'] The value 'sm-mta'
is not accepted by the pattern '[a-zA-Z0-9_\.]+'.
I would expect (and prefer) that the pattern should be '[a-zA-Z0-9_/\.+:-]'
<ruleset name="sm-mta" id="RS-8e86ff39-2db4-48b6-bbe0-f980d9afebf0">
<pattern>sm-mta</pattern>
<rules>
<rule id="8e86ff39-2db4-48b6-bbe0-f980d9afebf0" class="sm-mta" provider="UVic">
<patterns>
<pattern>whatever pattern</pattern>
</patterns>
</rule>
</rules>
</ruleset">
will reproduce this error.
--
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the syslog-ng
mailing list