https://issues.apache.org/bugzilla/show_bug.cgi?id=44992
Doug Drechsel <[EMAIL PROTECTED]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WORKSFORME |
--- Comment #2 from Doug Drechsel <[EMAIL PROTECTED]> 2008-05-14 05:29:27 PST
---
Yes, I did get the unknown protocol early on. I am in an OSGI environment so I
registered the Tomcat URLStreamHandler with the URLStreamHandlerService.
But leaving OSGI aside, if in the JVM, no process beats Tomcat to registering
the URLStreamHandler and Tomcat gets its URLStreamHandler in, then Woodstox
would not get the unknown protocol error
In JVM1.5.11 , java.net.URL
public URL(String spec) throws MalformedURLException {
this(null, spec);
}
calls
public URL(URL context, String spec) throws MalformedURLException {
this(context, spec, null);
}
calls
public URL(URL context, String spec, URLStreamHandler handler)
throws MalformedURLException
which calls
handler.parseURL(this, spec, start, limit);
} catch(MalformedURLException e) {
throw e;
} catch(Exception e) {
throw new MalformedURLException(e.getMessage());
}
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]