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 <stef...@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/ dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list