Oleg Barmin wrote:
The problem that Lenya validates a document as a "Strict" document type, but this stuff
will be fine if we will validate FCKEditor out as a "Transitional" document type.
I've tried 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">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>test</title>
</head>
<body>
<form action="send" method="get" name="mform">
<input name="msubmit" type="submit" value="submit" />
</form>
</body>
</html>
in W3C validator (http://validator.w3.org/check). Validation was passed.
Are there any way to switch validation rules to "Transitional" document type?
Richard,
What do you think about that?
Best regards,
Oleg Barmin.
Yes, you certainly could switch it to validate against transitional.
From source you can edit the following file:
src/modules/xhtml/resources/schemas/xhtml.rng
You would want to comment out the XHTML basic schema and remove the
comments around the XHTML transitional schema. I haven't looked to see
how well that would work, but that might do what you want.
Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]