- This topic has 2 replies, 2 voices, and was last updated 16 years, 12 months ago by Loyal Water.
-
AuthorPosts
-
Aidan HughesMemberI’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”>
Any ideas?
Thanks,
Aidan.
Aidan HughesMemberI 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.
Loyal WaterMemberAidan,
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. -
AuthorPosts