RE: [xml] URI question...

Date view Thread view Subject view Author view

From: Marc Sanfacon (sanm@copernic.com)
Date: Tue Oct 03 2000 - 10:11:24 EDT


Hi Daniel,
        after applying the patch, the result is the following:

        path gives me: /c:/tmp/MyFile.txt

        I think this is normal behavior since for this uri:
file:://server/MyFile.txt

        path is: /MyFile.txt.

So I will simply modify the result of path, in my library to get
'c:/tmp/MyFile.txt' and then open the link.

Just wanted to let you know, in case you think this should be included in
libxml for WIN32 target.

Thank you,

Marc.

-----Original Message-----
From: xml-request@rufus.w3.org [mailto:xml-request@rufus.w3.org]On
Behalf Of Daniel Veillard
Sent: October 2, 2000 19:00 PM
To: xml@rpmfind.net
Subject: Re: [xml] URI question...

On Mon, Oct 02, 2000 at 11:16:30PM +0200, Daniel Veillard wrote:
> On Mon, Oct 02, 2000 at 04:38:42PM -0400, Marc Sanfacon wrote:
> >
> > I tried to parse the following url: file:///c:/tmp/MyFile.txt. I
> > got an error. It is unable to parse it.
> > The error is given in the code: uri.c, in function: xmlParseURIAuthority
> >
> > these lines:
> >
> > if (!IS_REG_NAME(cur)) {
> > return(5);
> > }
>
> yes that's a bug, the enclosed patch fixes it:

  Ooops this broke things seriously apply the next patch too

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Oct 03 2000 - 10:43:42 EDT