facebook

Strict V’s Transitional HTML DOCTYPE – Problem with Strict.

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #278884 Reply

    Aidan Hughes
    Member

    I’m using ME 5.1.1 GA.

    I’ve a problem with the Strict HTML DOCTYPE.

    I’ve a JSP which originally used a Transitional HTML DOCTYPE and passed W3C validation. I need to change the DOCTYPE to Strict HTML.

    I’ve no issues when I use the Transitional DOCTYPE, but when I use the Strict DOCTYPE ME seems to freeze at various times.
    E.g. when I type a < to start a new tag, the in context help appears with the list of valid tags, and ME then freezes. No matter how long I leave it, the list remains visible and the application remains unresponsive. I then end up closing the application through task manager. If I move the DOCTYPE back to transitional, the problem goes away – all editing is as you would expect and the application does not hang.

    The two lines I’m using are:

    <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>

    <!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01//EN” “http://www.w3.org/TR/html4/strict.dtd”&gt;

    Any ideas?

    Thanks,

    Aidan.

    #278896 Reply

    Aidan Hughes
    Member

    I have carried out some more tests on this.
    It seems the issue is not between strict and transitional HTML as I originally stated, but whether or not I include a DTD.
    If I include the loose.dtd for a transitional DOCTYPE, ME hangs as described above.
    If I take out the DTD, but use the strict DOCTYPE definition – everything works.

    I would guess now that ME (or Eclipse) is going away to find the DTD and can’t find it.
    Does eclipse hold a local copy of DTDs or does it require internet access to get them?
    I am behind a firewall and have not received any prompts that eclipse is trying to access an external site.
    Is there a setting somewhere I need to set if this is the case?

    Aidan.

    #278897 Reply

    Loyal Water
    Member

    Aidan,
    Even I observed some wierd behaviour when I changed the DOCTYPE to Strict HTML like you poointed out. I tried this with MyEclipse 6.0.1. I’ll file this as a bug so my dev team can take a look at this issue. Thank you for reporting this.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Strict V’s Transitional HTML DOCTYPE – Problem with Strict.

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