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

Re: [xml] libxml2 Solaris issue



On Thu, Nov 08, 2007 at 05:54:27PM +0100, Petr Sumbera wrote:
> Thanks for looking at it.
> 
> Daniel Veillard wrote:
> >On Thu, Nov 08, 2007 at 01:33:02PM +0100, Petr Sumbera wrote:
> 
> >  Looks completely the wrong place to do this kind of changes.
> >You just can't hack every single entry point in the library which
> >may take a filename. What you need to understand and check is 
> >why //foo/bar isn't recognized as a legal filename, as far as I can
> 
> It's little bit different problem. //foo/bar is recognized as file. 
> Problem is that path to DTD file which is stated in //foo/bar XML file 
> (e.g. /foo2/dtd) is wrongly processed to //foo/foo2/dtd.
> 
> xmlNoNetExists() receives already wrong path (//foo/foo2/dtd).
> 
> Any idea?

  You misunderstood. //foo/bar should be converted to /foo/bar
by the path canonicalization routine when the //foo/bar document is loaded.

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/


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