Re: Problem with using XML with CAKEPHP

2010-06-07 Thread designv...@gmail.com
Well you have  wrote:
> Hi
> I would use XML in my application.
> I define my default layout in xml like :
>
>  header("Expires: Mon, 26 Jul 1997 05:00:00 GMT\n");
> header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" );
> header("Cache-Control: no-cache, must-revalidate" );
> header("Pragma: no-cache" );
> header("Content-type:text/xml");
> print ("");
> ?>
> 
>
> Now when I call a page like : /{controller}/{action}.xml I get this
> error :
>
> Error interpretation XML: non well-formed
> Line number 2, column 3:
> 
> ---^
>
> Can someone help me about this?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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


Problem with using XML with CAKEPHP

2010-06-07 Thread marco.rizze...@gmail.com
Hi
I would use XML in my application.
I define my default layout in xml like :

");
?>


Now when I call a page like : /{controller}/{action}.xml I get this
error :

Error interpretation XML: non well-formed
Line number 2, column 3:

---^

Can someone help me about this?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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