Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

URL problems :(

0 views
Skip to first unread message

nerdfreak

unread,
Dec 24, 1998, 3:00:00 AM12/24/98
to
i am having a terrible time with URLs using the MSXML parser applet.
Apparently the applet is evil and does not allow me to load any other files
as DTDs than those in the same directory as the xml file itself. The
msxml.class works fine under jview. The applet has a cow, saying "Error
loading XML document 'gui_menuMain.xml'. com.ms.security. Security
ExceptionEx(Host): cannot access file
/f:/projects/cyverres/gui/gui_menu.dtd"

This is the data type declaration in my XML file:

-@
<!DOCTYPE menu SYSTEM "/f:/projects/cyverres/gui/gui_menu.dtd">
@-

where the location of the xml file containing this line is:
f:\projects\test\gui_menuMain.xml
Furthermore, in JavaScript, i get a similiar kind of bullcrap with the
load() method.

@-
obj_XMLParser.load('/f:/projects/test/gui_menuMain.xml');
@-

i have tried just about everything, mainly tweaking with the URLs. Nothing
works.
PLEASE help me.

nerdfreak

unread,
Jan 1, 1999, 3:00:00 AM1/1/99
to
Nevermind. i figured it out. Java security will only allow applets to access
files within the same directory or below, unless i go change the settings
for Java security in Internet Options/Custom/Java Custom Settings/Access to
all files and Access to all network addresses.
Then access my own test page containing the applet as
\\bill\f/projects/test/test.htm where bill is the network name of my
computer, and f is the name of my shared f: drive.

This sucks. There has to be a better way than to forces the user of my
application to go through all this riggamoro. Any ideas?

nerdfreak wrote in message ...

0 new messages