Tim wrote:
>>Comments on this page: 1. The DTD as html 4.01 strict is a bit of a
cheat. Although the source code validates, the page generated will
have applet tags that wouldn't have validated. However one point of
validation is to pick up errors which may throw browsers other than
the one one is developing in, so it is useful that this validates
strict.
sorry, I don't understand why this is particularly useful.
I try to write all html pages so they validate for the given DOCTYPE
(usually XHTML 1.0 Transitional); however, I think it is important
to keep validation in perspective. one must jump through all manner
of hoops to make widely accessible Web pages, which in the end
proves more useful than validation. in a perfect world, of course,
we could use OBJECT instead of APPLET, as I have been told for many
years. ;-)
This is not a big thing, is really off-topic, and rather personal.
The situation is, as Tim says, that one wants to write
standards-compliant code as far as possible, but not where the
browser companies and W3C have conspired to make it impossible.
Professionally I like all my pages to have a valid DTD (one does need
a DTD for certain html/css markup to prevent certain browsers going
into 'quirks mode') and generally use a custom one from J.Solaris
which validates applets and embeds. As this is based on HTML
'transitional' it doesn't pick up violations of 'strict'. The hidden
nature of the applet markup in the javascript here means I can use a
strict dtd to validate the rest of the page. Admittedly one could do
this anyway and just tolerate the errors. Nothing to do with Jmol.
David
--
_______________________________________________________________
David P.Leader, Biochemistry and Molecular Biology
Davidson Building, University of Glasgow, Glasgow G12 8QQ, UK
Phone: +44 41 330-5905 http://doolittle.ibls.gla.ac.uk/leader
_______________________________________________________________
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users