Re: [xml] Wine - libxml issue

On Thu, May 01, 2008 at 06:46:16AM +1000, Alistair Leslie-Hughes wrote:

I've developing MSXML3 support for the Wine project and have come across
a problem that I don't know a clean solution for.

 Here is a bug report for reference.

 The issue,
   When wpkg creates their style-sheet they include paths that include
 C:/home/alh/wpkg/tools/rooms1.xml, which under windows are fine, but
 under Linux they don't exist since we use native libxml2.
Is there a way in libxml2 to specific where the missing files?
Could a callback be added to support this.?

  Yes you could register your own set of I/O file handlers see

  just a couple of wrapper functions detecting the fact it's a Windows
file path, and associated open, read/write, close functions hould do the

  There is an example for registering specific input callbacks


Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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