facebook

XML code comletion using DTD [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • #203403 Reply

    Struts config not working either.
    I have used these headers:
    <?xml version=”1.0″ encoding=”UTF-8″?>
    <!DOCTYPE struts-config PUBLIC “-//Apache Software Foundation//DTD Struts Configuration 1.1//EN” “http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd”&gt;

    And this one:
    <?xml version=”1.0″ encoding=”UTF-8″?>
    <!DOCTYPE struts-config PUBLIC “-//Apache Software Foundation//DTD Struts Configuration 1.1//EN” “file:/opt/dtd/struts/struts-config_1_1.dtd”>

    It looks like the problem is not related to the firewall, but something else.
    This is a clean installation, so no other libraries apart from MyEclipse are in the project.

    #203407 Reply

    Riyad Kalla
    Member

    Are you able to put your computer in the DMZ temporarily then reload Eclipse and see if the XML editor is effected?

    I believe there is another thread in the forums (I thought it was this one) talking about a authenticating http proxy problem causing major pauses with validation on the XML files; I wonder if you are running into a proxy problem as well?

    Also, if you click the url http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd from the same machine you are running Eclipse on, does that link load anything for you? Scott mentioned that ME uses straight HTTP connection to pull down the DTDs for the XML editor, so if you can load that from a web browser you should be able to see it in ME.

    Also if it DOES load up in your web browser, double check if you have any proxy settings in your browser set; that might explain it.

    #203413 Reply

    Sorry for the confusion.
    Everything is working fine now.
    As I could retrieve the DTD file with my browser, firewall problems could be excluded.
    I thought I was testing with Eclipse 2.1.2, but in fact I was testing with Eclipse 3.0 M4 with an outdated MyEclipse plugin.
    I can not use Eclipse 30 M6 due to unacceptable performance issued with M6 especially on Linux SWT/GTK.

    Thanks for your help 🙂

    #203414 Reply

    One more question: where can I find the XML caching settings ?

    #203416 Reply

    Riyad Kalla
    Member

    Ok I’m glad to hear its working then.

    The cache setting is a toggle (on/off) and it is located:
    Windows>Prefs>MyEclipse>Editors>XML Editor>Configuration>”Use cache for DTDs”

Viewing 5 posts - 16 through 20 (of 20 total)
Reply To: XML code comletion using DTD [Closed]

You must be logged in to post in the forum log in