HI
I've been trying to get JSmol to work with XHTML, and while the Java side
works, the HTML5 does not.
The cause of the problem is a "TypeError: f is undefined" in JSmol.min.js,
line 393. With the culprit being f.appendChild(c)
While trying to find the problem, I've noticed that, while the simple2.htm
claims to be XHTML (and may validate as such), it does not work when served
correctly to the browsers;
IE, Firefox and Chrome all fail when the HTTP response identifies the
Content-Type as "application/xhtml+xml", which is required for correct
processing of XHTML.
After clearing most of the code for the leftpanel (undefined entities),
rightpanel (not well formed) and lower panel (not well formed, mismatched tag),
the page loads, adding ?USE=HTML5 results in the TypeError.
Is there any likelihood of full XHTML support?
TIA
Kevin
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users