facebook

Configuring SYSTEM DTD definitions (with log4j.xml files).

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

    jakegage
    Member

    I’ve got projects that are using log4j.xml files using the SYSTEM references to DTDs in their DOCTYPES:

    <?xml version=”1.0″ encoding=”UTF-8″ ?>
    <!DOCTYPE log4j:configuration SYSTEM “log4j.dtd”>

    <log4j:configuration xmlns:log4j=”http://jakarta.apache.org/log4j/”&gt;

    This seems to be the recommended format in the examples of the log4j documentation (though referencing a DTD and a namespace looks funky to me, and if somebody wants to suggest that this is wrong, I’m all ears).

    Anyhow, I’m still getting the following error during project validation:

    Severity Description Resource In Folder Location Creation Time
    2 File not found: “/home/jake/workspace/Degree Audit Reporting System/etc/log4j.dtd (No such file or directory)”. log4j.xml Degree Audit Reporting System/etc line 2 November 28, 2005 2:13:27 PM

    Can anybody suggest how I’d get the MyEclipse project validator to recognize the log4j.dtd SYSTEM reference?

    Thanks much,
    Jake

    #242246 Reply

    Riyad Kalla
    Member

    Jake,
    This is a known issue that should get fixed in 4.1 hopefully:

    http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-5942-highlight-log4j+dtd.html

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Configuring SYSTEM DTD definitions (with log4j.xml files).

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