EOModelDoc output no longer viewable with Safari 5.1, Firefox 5.0.1
EOModelDoc output no longer viewable with Safari 5.1, Firefox 5.0.1
- Subject: EOModelDoc output no longer viewable with Safari 5.1, Firefox 5.0.1
- From: Paul Hoadley <email@hidden>
- Date: Tue, 02 Aug 2011 19:37:44 +0930
Hello,
I've been generating EOModelDoc output for over a year, just using the standard templates in the EOModelDoc JAR itself. I've just noticed that it renders to a blank page in both Safari 5.1 and Firefox 5.0.1. Can someone just sanity check this for me and try this example in either of those browsers?
http://webobjects.mdimension.com/wolips/support/eomodeldoc_example/
I'm pretty sure the problem is the self-closing syntax on the script tag:
<script src = "prototype.js"/>
I think that's invalid in anything other than XHTML, and perhaps the problem is in the absence of a DOCTYPE in those templates, something other than XHTML is being assumed by those browsers. In any case, supplying a full end tag for all the 'script' elements fixes the problem. (I swear this used to be just fine. I've certainly been able to view that example page before.)
If this is the problem, I'm happy to try and update the templates. Is EOModelDoc on GitHub? (Can't find it—is it just me or is GitHub's search a bit ordinary?)
--
Paul.
http://logicsquad.net/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden