Re: [xml] problem with libxml2

On Tue, Jul 23, 2002 at 06:13:04PM +0400, ëÏÎÄÒÁÔØÅ× óÅÒÇÅÊ wrote:
I use libxml2 (29.05.02) for Win32 and have the following problem:
It doesn't understand any URL containing the space symbol. 

For example xmllint utility validating XML file, containing string 
      <!DOCTYPE MySchema SYSTEM "sub directory/test.dtd"> 
will generate error
      failed to load external entity...

  Because you simply can't put spaces as is in an URL. It's called
conformance to the standard, and I suggest you read the RFC 2396

How can I avoid this problem? 

    possibly by escaping the URL "sub%20directory...."

Using pathes with space symbol is obligatory for me - "c:\Documents and

   Again reread the specification, an URI or URL is not a path !


Daniel Veillard      | Red Hat Network
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]