Re: [Jmol-developers] vs

Wed, 14 Sep 2005 07:58:41 -0700

> Q: What is the current status of use of Jmol.js in terms of XHTML
> compliance?
> Can we, for example, use
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE html
>       PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>
> now and have compliant code using Jmol.js?

I don't really understand what this means.

For IE + Mozilla family + (recent) Safari the html code that is generated
uses <object>.

I believe that on these browsers the code that is generated is compliant.

However, be advised that:
 - I have never run a 'compliance checker'
 - I am not a web designer with lots of HTML experience

So, if there are problems with the html code that is generated please do
not hesitate to point them out to me.

> Q: Are we aiming for -strict on this? yes? no? ultimately?

I am not sure exactly what this implies, but I think that the answer is:

  For modern browsers, Jmol.js should generate strictly compliant HTML
  For older browsers, Jmol.js should generate HTML that works.

At some point ... perhaps soon ... Jmol.js will explicitly drop support
for older browsers (e.g. Netscape 4.7)

> What I'm thinking is that <applet mayscript="mayscript"> is NOT allowed in
> xhtml1-transitional, even though <applet> is.

Jmol.js no longer generates <applet> tags for modern browsers.

> Q: So if I include a transitional DOCTYPE, and Jmol.js throws in an
> <applet
> mayscript> tag for some browser on the fly, is that a problem?

I don't think so ... I think that backwards compatibility is a feature,
not a bug.

> Will I lose my scripting?

I do not understand this question.

> Q: What happens when you include a transitional DOCTYPE, then introduce
> nonvalidating code? Does it work anyway?

I don't really understand what this means.



Miguel



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to