Re: [xml] A few Windows specific issues



On Fri, Oct 26, 2001 at 05:48:50PM +0200, Igor  Zlatkovic wrote:
  file://localhost/c:/dir/file.xml

The first seems to be, well not a standard, but a convention for
specifying an absolute path in URI notation, if the file in on a Windows
machine. The second and the third I haven't seen yet. I just tried it
out to see what happens.

  well it ought to work, I think per RFC 2396.

  ??? fopen() lauch IE ???

Yes. I wrote a three-line programme out of hope, but to no avail.
fopen() launches the programme registered to handle the specified file
type. Open action for XML files is handled by IE on my machine. If you
specify a text file, fopen() launches Notepad. Additionally, fopen()
blocks the calling programme until after the launched application has
finished. When it returns, it returns (FILE*)0. I have not found a way
to influence this.

 ROTFL, sorry this is plain crazy !

  Status quo except for the file://c|/ notation which may have to be
supported if it's the satndard way to do this.

It seems to be a common way, but I have never seen a XML document with
an absolute path specification in it. It is a rare way. 99% of the time
people use relative paths, unless the URI refers to something other than
file://.

  Okay, if someone fills a bug about one of those two, then we will
see, but current resolution is NOTABUG :-)

  thanks a lot !

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
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]