From: Marc Sanfacon (sanm@copernic.com)
Date: Mon Oct 02 2000 - 16:17:30 EDT
Thank you.
-----Original Message-----
From: xml-request@rufus.w3.org [mailto:xml-request@rufus.w3.org]On
Behalf Of Daniel Veillard
Sent: October 2, 2000 16:02 PM
To: xml@rpmfind.net
Subject: Re: [xml] URI question...
On Mon, Oct 02, 2000 at 02:04:04PM -0400, Marc Sanfacon wrote:
>
> Hi there,
> is an URI with a space a valid URI or should it be a '%20' instead
> of the space ? Because libxml gives me an error when I give it an URI
with
> a space.
Welcome to a really difficult area ...
When embedded within an XML document, an URI is supposed to be in
an escaped form, i.e. with ' ' encoded as %20. So currently the
libxml URI api since it's used to manipulate URIs embedded into XML
documents only support funcxtion where the escaping is done. Adding
functions handling unescaped forms might be a good idea.
Daniel
-- Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes | Today's Bookmarks : Tel : +33 476 615 257 | 655, avenue de l'Europe | Linux XML libxml WWW Fax : +33 476 615 207 | 38330 Montbonnot FRANCE | Gnome rpm2html rpmfind http://www.w3.org/People/all#veillard%40w3.org | RPM badminton Kaffe ---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net ---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net
This archive was generated by hypermail 2b29 : Mon Oct 02 2000 - 16:43:18 EDT