Re: [xml] problem with libxml2
- From: Daniel Veillard <veillard redhat com>
- To: ëÏÎÄÒÁÔØÅ× óÅÒÇÅÊ <seka x509 ru>
- Cc: "'xml gnome org'" <xml gnome org>
- Subject: Re: [xml] problem with libxml2
- Date: Tue, 23 Jul 2002 12:01:56 -0400
On Tue, Jul 23, 2002 at 06:13:04PM +0400, ëÏÎÄÒÁÔØÅ× óÅÒÇÅÊ wrote:
Hello!
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
http://www.ietf.org/rfc/rfc2396.txt
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
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
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]