facebook

Configuration of Validator ?

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

    pcleung
    Member

    On the top of Validation.xml and Validator-Rules.xml,
    there are lines like
    http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd”>

    The MyEclipseIde tries to load http://jakarta….

    It is okay at home.
    In office, we have a proxy server.
    It becomes a line of error of unabling to load the above line
    http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd”

    How to configure it in office with proxy server?

    #237384

    Riyad Kalla
    Member

    Window > Prefs > MyEclipse > Internet Tools > Internet Proxy

    If that doesn’t work, you can download the DTD and place it on your computer somewhere and then navigate to Window > Prefs > MyEclipse > Editors > XML > XML Catalog and add an entry here. Look at the “Plugin Specified Entries” to see how to add a reference to a local file.

    #237485

    pcleung
    Member

    I have inputted the proxy setting as you point out.

    The bubble message “Connection timed out: connect” still exists.

    #237486

    pcleung
    Member

    And it does not have problem in reading

    <!DOCTYPE hibernate-configuration PUBLIC
    “-//Hibernate/Hibernate Configuration DTD 3.0//EN”
    http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd”&gt;

    Why only happens to validation.xml and validator-rules.xml ?

    #237506

    Riyad Kalla
    Member

    And it does not have problem in reading

    <!DOCTYPE hibernate-configuration PUBLIC
    “-//Hibernate/Hibernate Configuration DTD 3.0//EN”
    http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd”&gt;

    Why only happens to validation.xml and validator-rules.xml ?

    Because we include the hibernate DTD in our XML Catalog, which is what I directed you to do above, to add the validation DTD to the catalog.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Configuration of Validator ?

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