Re: [libvirt-glib 20/23] Add test-domain-duplicate.xml which currently fails

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

 



On Tue, Oct 18, 2011 at 12:50:44PM +0100, Daniel P. Berrange wrote:
> On Fri, Oct 07, 2011 at 11:41:05AM +0200, Christophe Fergeau wrote:
> > This test has 3 duplicate "name" nodes in the domain XML, I don't
> > know what the right behaviour is in this case :)
> 
> Well first of all this is obviously a non-conforming XML document,
> so if the application is using the schema validation check they
> will get an error.

Ah, I wasn't sure if such documents were conformant or not, hence my
questions.
> 
> If they're not validating against the schema, then IMHO any
> behaviour you care to implement is acceptable, but for sanity
> I'd pick either the first, or last node rather than a
> random node :-)

Yep, it's likely to be the first node since this makes the implementation
easier.

Thanks for the clarification,

Christophe

Attachment: pgpL5OEK4r2Q4.pgp
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]