I'd like to quote RFC 2396 here:

"The URI syntax does not require that the scheme-specific-part have
  any general structure or set of semantics which is common among all
  URI.  However, a subset of URI do share a common syntax for
  representing hierarchical relationships within the namespace.  This
  "generic URI" syntax consists of a sequence of four main components:

     <scheme>://<authority><path>?<query>

  each of which, except <scheme>, may be absent from a particular URI."

...

"We use the term <path> to refer to both the <abs_path> and
  <opaque_part> constructs, since they are mutually exclusive for any
  given URI and can be parsed as a single component."

So "file://C:/1.txt" appears to be a valid URI of the following kind:
<scheme>://<path>, where <path> is an <opaque_part>.

This means that #1126 is, actually, a bug. Am I correct?


On 9/21/06, Spark Shen <[EMAIL PROTECTED]> wrote:
[snip]
>
>
> >>Vladimir Ivanov
> <http://issues.apache.org/jira/secure/ViewProfile.jspa?name=vladimir>
> >>unit test.
> >>Seems, that patch will be system dependent (special handling for Win
> should be added)
[snip]
And I agree with Vladimir Ivanov here, on Win-platform, special handling
for file system is needed.

Best regards

--
Spark Shen
China Software Development Lab, IBM


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to