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

Re: [virt-tools-list] [libosinfo][PATCH v2 0/7] RNG: Adapt to new code



On Fri, Sep 28, 2012 at 05:03:42AM +0300, Zeeshan Ali (Khattak) wrote:
> On Fri, Sep 21, 2012 at 5:38 PM, Michal Privoznik <mprivozn redhat com> wrote:
> > Another version of RNG adaptation.
> > diff to v1:
> > -Dan's suggestions worked in
> >
> > If you find this the right approach, please push as I don't
> > have commit access (yet :) ).
> 
> ACK'ed and pushed!
> 
> > NB: As I was at this, there is something we should do about
> > <x-*/> elements as RNG doesn't allow regexp over element
> > names so we will constantly get errors about unknown child
> > element. My suggestion is to switch to <x name="[a-z]+"/>.
> > Thoughts?
> 
> Makes sense. Don't know if anyone is actually using those already so
> wonder if we should remain backwards compatible here.

Another option might be to just declare an alternative namespace
for them. eg

  <xxx:name>

then people can use whatever they want as element names, without
clashing. I think this is preferable to any of the other options

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


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