[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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) { super(RDDLClassLoader.buildURLarrayFromNSandPurpose(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 http://www.rddl.org/natures/software#java 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? -Jonathan > > > 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:. >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|