Hello all,
I use tm4j for a project to parse xtm files. But I want to
make an applet. And when I try to create an
TopicMapProvider object I have problems with reading
system properties :
java.security.AccessControlException: access denied
(java.util.PropertyPermission xml.catalog.ignoreMissing
read)
i changed the tm4j code a little to deal with that, but the
same exceptions comes also in
org.apache.xml.resolver.CatalogManager.<init> from
resolver.jar
Maybe, System.getProperty(...) is called there and I
cannot use that in applets. Is there a way to avoid such
calls? Or where can I find the source code for
resolver.jar? And maybe I should try to change its
code....
So, can I create an TopicMapProvider object without
having such problems?
I would appreciate any help,
Best regards,
Valentin Mihaylov
valmihx2@yahoo.com
Logged In: YES
user_id=176992
Resolver.jar is from the Apache XML Commons and you can find
links to the source code at: http://xml.apache.org/commons/
TM4J hasn't really been designed (or tested) for applet use
- so you might find a few more issues like this. If you are
just looking for basic topic map processing for an applet,
you might want to also consider using tinytim
(https://sourceforge.net/projects/tinytim/) which has a much
smaller footprint than TM4J.