OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [RDDL] RDDLClassLoader

What I'm doing so far is this:

The java URLClassLoader constructor accepts URL[] as a parameter.

class RDDLClassLoader extends URLClassLoader {
	RDDLClassLoader(namespaceURI,purposeURI) {


where the static method buildURLArray... parses the RDDL document at the
namespace URI and builds a URL[] of all the <rddl:resource xlink:href="URIs"
..> where the purpose matches the purposeURI and the nature is

So from my reading of JarURLConnection, assuming that the xlink:href URI is
of the form:

"jar:http://...", the URLClassLoader ought do the right thing?

Otherwise the form "http://example.org/foo" would indicate a URL to be used
as a classpath. Is this assumption correct?


> Are you supporting the jar: URI scheme from the JarURLConnection
> class in the JDK,
> http://www.javasoft.com/j2se/1.3/docs/api/java/net/JarURLConnectio
> n.html?  Do you have a reference for a java: URI
> scheme?  http://www.w3.org/addressing/schemes had java: as a
> scheme for which it was missing a reference and didn't list jar:.