Ian Bicking wrote:Having a couple of examples in the documentation is good.
On Sun, 2003-01-26 at 12:11, Matt Feifarek wrote:
> IE and Moz both change their behavior depending on the doctype. They are > better or worse at rendering stylesheets for example, depending on the > doctype.
> > My suggestion would be to have 3 or 4 good doctype strings, and just > comment all but one out. That way a novice user could just switch them > without having to understand...
I agree with this. A doctype is generally the right thing to have, and
4.0 transitional (which is what it was, no?) is usually the right one
for most people. If it has to be tweaked sometimes we can document
that, but I'd rather assume the most common case. As a developer I
always appreciate sensible defaults.
Or possibly having named alternates which could be invoked by a servlet in its own writeDoctype() method could ba a way to go.
Perhaps having a configuration setting would be good.
But I don't think we should require the user/installer to uncomment a line in Page.py to "configure" the behavior they want. A package installation should only require editing a specific set of configuration files, not actual source.
If there is a consensus that the best thing to do is to provide a default DocType string of Transitional, then we should do that and if it does not work for a particular users generated HTML, then they should work around it by providing their own writeDocType method.
If Transitional breaks too many environments, then it should be removed, in favor of the user providing their own writeDocType() or added to a supported configuration setting.
-Stuart-
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel