Title: XML Cannot resolve URL error? Build 615
Hi Scott.
IDEA does prompt to fetch, but then fails with a "connection refused: connection" error in a dialog-box (where OK button doesn't work by the way :-).
After this, I have now downloaded the dtd from the net and placed it in a local path. Added external resource in IDEA with
Path: D:/projects/sources/struts-config_1_1.dtd
But it will still not resolve. Now it no longer prompts for fetching either.
As I don't know the expected behaviour, it is hard to explain exactly what goes wrong.
By the way: on first download, my browser had appenden .txt to the local file, and this was also the filename refferenced in "external resources". This however resulted in an repreating "internal error" dialog that could only be escaped by some very fast finger-gymnastics (Enter to confirm followed by alt-left to switch file)
 
Hope this info is useful. Looking forward to followup.
 
Regards Jan Krag
 
-----Oprindelig meddelelse-----
Fra: Mike Aizatsky [mailto:[EMAIL PROTECTED]]
Sendt: 5. april 2002 12:35
Til: [EMAIL PROTECTED]
Emne: RE: [Eap-list] XML Cannot resolve URL error? Build 615

Scott,

 

IDEA never downloads dtd files from internet. You should register your URL in the Tools | External resources. IDEA should also prompt you to fetch it if you put cursor inside the URL and wait a bit.

Best regards,
Mike Aizatsky.
------------------------------
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Scott Curtis
Sent: Friday, April 05, 2002 12:25 PM
To: '[EMAIL PROTECTED]'
Subject: [Eap-list] XML Cannot resolve URL error? Build 615

 

Hi,

I am using Struts and I have a "struts-config.xml' with the following standard (and correct) DOCTYPE declaration at the top:

<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">

Idea is highlighting the URL ("http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd") in red with the error message "Cannot resolve URL". This URL is correct (AFAIK). Any insight would be helpful.

Thanks

 - scott

Reply via email to