xml-commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Walsh <...@nwalsh.com>
Subject Re: What jar file was a class loaded from?
Date Wed, 19 Feb 2003 19:07:29 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

/ Norman Walsh <ndw@nwalsh.com> was heard to say:
| Is it possible for a class to learn the location (URI) of the jar file
| from which it was loaded?

Thanks for the answers. Here's the problem I'm struggling with:

It's been pointed out that the resolver doesn't have any built-in
knowledge about the DTD for catalogs. That's an obvious catch-22 and
I'd like to fix it.

One obvious way is to put a catalog for the catalog document type in
the Jar file and then put the URI for that catalog at the head of the
path.

But that means the code has to be able to figure that out, which
apparently isn't easy.

Suggestions?

                                        Be seeing you,
                                          norm

- -- 
Norman.Walsh@Sun.COM    | Old and young, we are all on our last
XML Standards Architect | cruise.--Robert Louis Stevenson
Web Tech. and Standards |
Sun Microsystems, Inc.  | 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQE+U9XxOyltUcwYWjsRAj3tAJ0VoeGWiQntYCwzaaOOH+FNmohi0ACeLURs
2WGU41VqPS/CXKnX3hYYz2I=
=wbfS
-----END PGP SIGNATURE-----

Mime
View raw message