[Libosinfo] [PATCH 2/2] win8: Add install script

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Thu Jan 10 13:59:54 UTC 2013


On Thu, Jan 10, 2013 at 3:44 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
>
>
> ----- Исходное сообщение -----
>> From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
>>
>> Alternative patch to add Windows 8 installer that makes use of
>> 'xi:include' nodes to save space. However I failed to make it work.
>> Either the xpointer is wrong and/or (more likely) this node is not
>> automatically substituted by libxml2.
>>
>> There is special xinclude API in libxml2 that probably solves our
>> problem but it works on DOM API and we are using XPath to load/parse
>> our
>> XML files.
>
> libxml2 XPath API works on top of a DOM tree, see osinfo_loader_process_xml. Did you try to call xmlXIncludeProcessFlags on the xmlDocPtr xml variable available in this function?

Oh, I had missed the fact that we have the xmlDocPtr is available.
I'll give it another try..

-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124




More information about the Libosinfo mailing list