There is a ticket opened for this problem but it was converted to an
Enhancement instead of a bug and nothing appears to have been done
about it.  If you use the HTML helper to set your DOCTYPE and want
your page to validate here is a workaround until this is fixed.

In your /cake/libs/view/helpers/html.php change your docType function
to the following.


        function docType($type = 'xhtml-strict') {
                if (isset($this->__docTypes[$type])) {
                        if ($type == 'html4-strict')
                        {
                                foreach ($this->tags as $id=>$value)
                                {
                                        $this->tags[$id] = str_replace('/>', 
'>', $value);
                                }
                        }

                        return $this->output($this->__docTypes[$type]);
                }
        }


I have yet to encounter any problems with this and the page now
validates.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to