Re: DOMXML Warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Feb 13, 2008 1:20 PM, Daniel Brown <parasane@xxxxxxxxx> wrote:> On Feb 13, 2008 2:51 AM, Miguel J. Jiménez> <MiguelJose.Jimenez@xxxxxxxxxxx> wrote:> > Hi, after enabling error reporting with E_ALL I am having this strange> > warning while loading a XML:> >> > Warning: DOMDocument::load() [function.DOMDocument-load]: Extra content> > at the end of the document in [...]>>    Is there an extra whitespace or carriage return/newline after the> final closing tag?>> --> </Dan>>> Daniel P. Brown> Senior Unix Geek> <? while(1) { $me = $mind--; sleep(86400); } ?>>>
I don't think extra whitespace will do that. Even comments after theclosing element tag should be OK. This looks more like a document withmultiple "root" elements or other non-whitespace characters after theclosing root element tag.
Andrew

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux