On 06/16/2011 01:56 AM, Daniel Veillard wrote:
> I'm fixing those, nearly done ...
The enclosed patch includes quite a number of fixes
- parsing of "long long int" and similar
- add parsing of unions within a struct
- remove spurious " * " fron comments on structure fields and enums
- fix concatenation of base type and name in arrays
- extend XSLT to cope with union in structs
this is painful to read (this was apinful to write !), have a look at
the resulting libvirt-api.xml and generated page, that's the nicest way
to validate it :-)
Indeed, that's precisely what I did; the end result is strictly better,
so I'm pretty sure the gorp in the parser and xslt that was needed to
get us there is correct.
ACK.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org