
On Fri, Oct 01, 2010 at 08:28:53PM -0400, Stefan Berger wrote:
Extend the nwfilter.rng schema to accept state attributes.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com> [...] + + <define name='stateflags-type'> + <data type="string"> + <param name="pattern">((NEW|ESTABLISHED|RELATED|INVALID)(,(NEW|ESTABLISHED|RELATED|INVALID))*|NONE)</param> + </data> + </define> </grammar>
Hum, we really want to accept something like NEW,NEW,NEW,NEW ? I understand that we may want to add RELATED to another state, but that regexp could probably be refined, isn't it ? Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/