facebook

How to add a user specified entry to the XML Catalog

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

    Jim Jarrett
    Member

    I’m having trouble finding how, exactly, to add user specified entries to the XML Catalog.

    I am using Validator 1.1.3. When I attempt to validate my validator-rules.xml file, I get a “Connection timed out: connection” error.

    I tried enablilng the http:// proxy in the preferences, but that does not seemt o help. I can reach the DTD file for the validator-rules file for V1.1.3, so I downloaded it to my local machine.

    What I can’t figure out is how to add that file as a local DTD. I’ve seen threads that say to go to the preferences and add it under the user specified entries, but no explanation on how to point it to a local file.

    I just tried it again, and did find the “import” button, but then that wants to add the local DTD to my Eclipse project (and thus triggers the ClearCase plugin I’m using to add to source control).

    So, my questions are:

    1) Can I just point MyEclipse to a local copy of a DTD, or somehow coerce MyEclipse to add it to its own cache, without making it project-specific?

    2) Anyone got any tricks to debug connections thru a proxy server, to see why I’m timing out in the first place?

    – System Setup ——————————-
    Operating System and version: Wndows 2000 SP4
    Eclipse version: 3.0.0
    Eclipse build id: 200406251208
    Fresh Eclipse install (y/n): Y
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins:
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 8
    MyEclipse version: 3.8.3
    Eclipse JDK version: 1.42_04
    Application Server JDK version: 1.42_04
    Are there any exceptions in the Eclipse log file?

    If this is a DB related question please answer the following:

    RDBMS vendor and version:
    JDBC driver vendor and version, and access type (thin, type-2, etc):
    Connection URL:
    Eclipse error logs related to com.genuitec.eclipse.sqlexplorer packages:

    – Message Body ——————————-

    #223583 Reply

    Riyad Kalla
    Member

    1) Can I just point MyEclipse to a local copy of a DTD, or somehow coerce MyEclipse to add it to its own cache, without making it project-specific?

    Sure, just use notation like the following to point to the file, this is how MyEclipse points at all the DTDs/Schemas that it ships:

    
    URI:           file:/C:/Java/myeclipse-3.8.4-rc2/eclipse/plugins/com.ibm.webtooling.system.dtds_13.8.4/dtds/web-app_2_3.dtd
    Key Type:    Public ID
    Key:        -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
    

    2) Anyone got any tricks to debug connections thru a proxy server, to see why I’m timing out in the first place?

    No idea, sorry.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: How to add a user specified entry to the XML Catalog

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