Thanks for following up, Langdon. This is a not-uncommon issue with PHP, unfortunately. I wish there was a simple way to check non-view PHP files for spaces -- anyone have a working regexp for grep or a similar utility? Essentially, any space in any non-view file (outside of <?php ...?> tags) should be identified and eliminated.
Wayne On 10/30/07, Langdon Stevenson <[EMAIL PROTECTED]> wrote: > > This was caused by a space before the <?php tag in a model. It was very > difficult to track down. I discovered that the space was being > introduced when the models were loaded. By checking all of the models I > discovered the error. Once removed, there was no more problem. > > Hope this might be helpful to someone else in the future. > > Regards, > Langdon > > Langdon Stevenson wrote: > > I am developing an action (in a Cake 1.1 app) that outputs xml and have > > hit a problem that has been mentioned here before but never resolved. > > > > I am getting a single space character before the output of the layout > > begins. > > > > I have checked other regular html pages and they too have this problem, > > but given the not-so-strict parsing of HTML it doesn't cause a problem. > > > > Has anyone else resolved this issue in Cake 1.1? Does anyone know where > > to start looking for this extra character? > > > > Regards, > > Langdon > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
