[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] nwfilter: Add filter schema for nwfilter XML, extend domain XML schema



On Tue, Apr 06, 2010 at 03:29:08PM -0400, Stefan Berger wrote:
> Daniel Veillard <veillard redhat com> wrote on 04/06/2010 11:40:02 AM:
> >   right. We are using XML Schemas datatype here, and the regexps are
> > defined in this appendix
> >   http://www.w3.org/TR/xmlschema-2/#regexs
> > character $ has no special meaning in XML so doesn't need any escaping
> >   http://www.w3.org/TR/xmlschema-2/#nt-SingleCharEsc
> > 
> >     <param name="pattern">$[a-zA-Z0-9_]+</param>
> > 
> > should just work fine I think, can you try ? If yes that's worth fixing
> > before the push :-)
> > 
> 
> My mistake. I could replace it everywhere and it works fine. I'll push 
> this fix.
> 
> -        <param name="pattern">[\\$]{1}[a-zA-Z0-9_]+</param>
> +        <param name="pattern">$[a-zA-Z0-9_]+</param>
> 

  okay, thanks :-)

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/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]