Forum OpenACS Development: Change to XHTML Transitional?

Collapse
Posted by Dave Bauer on
I see that Malte added to the blank-master this code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">

Is there a reason for this? Unless we fix the HTML in all our applications this will probably break something.

I think we need to address this across the entire toolkit before changing the DOCTYPE returned by default.

Collapse
Posted by Malte Sussdorff on
This was an accident and I immediately reverted that change to stay with the @doctype@ syntax. To change the doctype we need a TIP anyway.

On a sitenode, so far it did not break anything on our sites, and I don't think it should, but give me a couple of weeks to verify my assumption.

Collapse
Posted by Malte Sussdorff on
I have the sneaky suspicion that HTMLarea does not produce XHTML valid content. Has anyone tried out the latest HTMLarea version from CVS or at least the latest release and got it to work consistently ?
Collapse
Posted by Dave Bauer on
The problem is I think specifying a DOCTYPE might put certain browsers into a different mode which could cause it to take offsense to invalid XHTML.

Thanks for replying quickly. I broke my RSS reader right after I read the first commit, and didn't see the second one for a while.