[Libosinfo] [PATCH 2/2] win8: Add install script
Fabiano Fidêncio
fabiano at fidencio.org
Thu Jan 10 23:05:10 UTC 2013
On Thu, Jan 10, 2013 at 11:59 AM, Zeeshan Ali (Khattak)
<zeeshanak at gnome.org> wrote:
> 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..
Don't want to start a discussion, but, once you're on it ... could you
check another scripts/xml files as well? :)
>
> --
> Regards,
>
> Zeeshan Ali (Khattak)
> FSF member#5124
>
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo
Best Regards,
--
Fabiano Fidêncio
More information about the Libosinfo
mailing list