This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
This URL is an absolute URL because its path begins with a "/":
"jar:file:/usr/src/redhat/BUILD/jonas-4.3.3/jonas/output/JONAS_4_3_3/examples/webservices/beans/ws/temp/ejbjars/ws.jar!/META-INF/wsdl/ssbEndpoint.wsdl"
[ An absolute file URL can look like:
absoluteURI = "file" ":" abs_path abs_path = "/" path_segments
That is, there is no need for "//".
And indeed, the URL spec in the SDK docs says 'If the spec's path component begins with a slash character "/" then the path is treated as absolute...' ]
But we parse the spec looking for "//" to determine if a URL is absolute,
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |