xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Irene Levina" <ir...@progress.com>
Subject Re: xml path problem
Date Wed, 11 Oct 2000 14:33:14 GMT
Hello Keith,

I used for xerces-j the following file URI:
       file:///d:/test/test.xml
       file:/d:/test/test.xml
both works fine on Win32

Hope it will help.

Irene Levina.

Keith Kyzivat wrote:

> I have had troubles with file URIs (specifically with respect to win32
> systems) with xerces-j (among other progs & libraries).  What exactly is the
> standard format for a file URI?
> Netscape does it one way, M$ does it another way, and I guess base java uses
> pretty much the M$ format for File URIs.
>
> file URI examples that I have known to work on some (any)
> application/library:
>         file://c:/foo/bar/baz.joe
>         file://c:\foo\bar\baz.joe
>         file:///c|/foo/bar/baz.joe
>         file:///c:/foo/bar/baz.joe
>
> What is the acceptable file URI format for xerces-j (and presumably
> xerces-c)?
>
> If anyone can clear up the confusion would be good for everyone.
>
> -----Original Message-----
> From: Jeffrey Rodriguez [mailto:jeffreyr_97@hotmail.com]
> Sent: Sunday, October 08, 2000 6:21 PM
> To: general@xml.apache.org
> Subject: Re: xml path problem
>
> Hi Venkat,
> from the FAQ:
>
> "I used to be able to use DOS filenames with the parser and now they don't
> work. Why not?
>
>   DOS filenames are not legal URIs as required by the XML 1.0 specification.
> Therefore, it was an error for the parser to accept DOS filenames. This bug
> is now fixed.
>
> DOS filenames can be converted to legal URIs, however. For example, the DOS
> filename "c:\xerces\data\personal.xml" would become
> "file:///c:/xerces/data/personal.xml", which is a legal URI."
>
> Hope this information helps,
>
>                   Jeffrey Rodriguez
>                   XML Development
>                   IBM Cupertino
>
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message