| Summary: | XHTML (with XML Decl) can not open in internal web browser | ||
|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | David Williams <david_williams> |
| Component: | wst.html | Assignee: | wst.html <wst.html-inbox> |
| Status: | RESOLVED NOT_ECLIPSE | QA Contact: | Nick Sandonato <nsand.dev> |
| Severity: | normal | ||
| Priority: | P3 | CC: | thatnitind |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
David Williams
Maybe it is (partially?) my setup/machine? I can't get this to work with Helios either. Galileo and Ganymede don't work either! ... but, behavior is a little different ... there, the browser seems to be "spinning" like its trying to download DTDs, or something. Helios and Indigo don't spin, just quickly display nothing :) Can something this "bad" have existed for so long? And no one else reported it? That's partially why I think it might be related to my setup/machine, somehow. I did try disabling firewall, and seemed to have no effect. I've now tried this on another Windows 7 machine (and Linux) and it works fine (tried Helios SR1 and Indigo M6a) ... so, there is something off about the Windows 7 machine I'm using when I reported the bug. I guess the XML Decl line is just some odd interaction that allows it to open, when that line is removed. I've changed to 'normal', but this might easily turn out to be "not eclipse". Not sure what to check next ... maybe file associations? Other software installed? Odd. I've tried Helios and Indigo on an XP machine and haven't had issue with this. Does the file open fine if it's opened directly in IE outside of Eclipse? (In reply to comment #3) > I've tried Helios and Indigo on an XP machine and haven't had issue with this. > Does the file open fine if it's opened directly in IE outside of Eclipse? That's a good suggestion, and no, it doesn't. Somehow, for some reason, even if I say 'open with IE" (from file navigator), then IE does open up, but the request is "redirected" somehow to Firefox! And that does not happen if XML Decl is removed (and does not happen on my other two Windows 7 installs). So, I'll close as "not eclipse", though still don't know what the problem is. I've compared "default programs", "add ons", and "file type" associations in the OS, and nothing seems "off" or different. But, I'll keep looking and update this entry if I ever figure out what it is. I've (finally) got this working again. I tried changing many settings and uninstalling lots of things, but, I think, in the end, the cure was just to reinstall internet explorer, using "C:\Windows\System32\ie4uinit.exe" -reinstall (Which I ran across a "how to" by accident). I got a hint this might be required from reading http://en.wikipedia.org/wiki/Xhtml#Adoption Where it says, among other things, "The notable exception [of supporting browsers] is Internet Explorer versions 8 and earlier by Microsoft; rather than rendering application/xhtml+xml content, a dialog box invites the user to save the content to disk instead." So, I suspect the XML Decl is what makes IE know it is "application/xhtml+xml" and I suspect at some time in the past I did answer "yes, download, and do this automatically from now on", or something similar. (But, to be honest, I do not get the 'download' prompt, not that I have reinstalled). At any rate, I ran "C:\Windows\System32\ie4uinit.exe" -reinstall and nothing really noticeable happened (there were no dialogs, or anything, and my IE "defaults" all stayed the same) ... but ... it worked after that. I could first opened the xml/xhtml file with IE, and then tried in "internal browser" and it worked fine. Some days I hate computers :) |