[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: [RDDL] RDDLClassLoader

  • From: Jonathan Borden <jborden@m...>
  • To: "Arnold, Curt" <Curt.Arnold@h...>, xml-dev@l...
  • Date: Tue, 06 Mar 2001 11:59:29 -0500

java jar uri
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.