Hello, This could be an issue with the yml form validator. : - The validator uses the sfFillInForm class to put values back to the form. - The sfFillInForm class uses the DomDocument class to parse and access to form element. The error may come from when the DomDocument return the html.
The documentation states : "The fillin feature works by parsing the response content in XML just before sending it to the user. If the response is not a valid XHTML document, fillin might not work." [1] Thomas [1] http://www.symfony-project.org/book/1_0/10-Forms#Form%20Validation On Thu, Apr 10, 2008 at 12:24 PM, plungerman <[EMAIL PROTECTED]> wrote: > > greetings, > > we are using symfony 1.0.9 under apache 2.2 with PHP 5.2.3 on ubuntu. > > after a POST request is sent from a form, the HTML is changed somehow > by symfony internals. that is, a new html and body tag are > substituted into the HTML, which renders the remaining layout rather > mangled. here is an example:P > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// > www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd"> > <html><body> > <p> > </p> xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> > > whereas the original content of the layout.php file is > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// > www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> > <head> > > this seems like a very simple fix, but i cannot seem to determine from > where this junk HTML originates. > > any thoughts? > > thanks in advance. > > yours, > > steve > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---